---
Product: Aspose.Cells
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/python/cfbwriter
---

# CFBWriter

## Overview

`CFBWriter` is a class in Aspose.Cells FOSS for Python.

Writes encrypted XLSX to CFB format.

This class declares 2 methods for CFBWriter objects in Python programs.
Available methods include: `__init__`, `write`.
Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__()` | Initialize CFB writer. |
| `write(file_path, encryption_info_xml, encrypted_package, package_size)` | Write CFB file with EncryptionInfo and EncryptedPackage streams. |

## See Also

- [Aspose.Cells for Python — Enterprise API Reference](https://reference.aspose.com/cells/python-java/)