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

# CFBReader

## Overview

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

Reads encrypted XLSX from CFB format.

This class declares 7 methods for CFBReader objects in Python programs.
Available methods include: `__enter__`, `__exit__`, `__init__`, `close`, `read_encrypted_package`, `read_encryption_info`, `visit`.
Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Properties: `file_path`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `file_path` | - | Read | Gets the file path. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(file_path)` | Initialize CFB reader. |
| `read_encryption_info()` | Read EncryptionInfo stream from CFB file. |
| `read_encrypted_package()` | Read EncryptedPackage stream from CFB file. |
| `close()` | Close the CFB file. |
| `__enter__()` | Calls __enter__ on this CFBReader instance. |
| `__exit__(exc_type, exc_val, exc_tb)` | Calls __exit__(exc_type, exc_val, exc_tb) on this CFBReader instance. |
| `visit(index, parent_path)` | Calls visit(index, parent_path) on this CFBReader instance. |

## See Also

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