detect_file_format method
Contents
[
Hide
]detect_file_format
Detects and returns the information about a format of an excel stored in a stream.
Returns
A FileFormatInfo
object that contains the detected information.
def detect_file_format(self, stream):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase |
detect_file_format
Detects and returns the information about a format of an excel stored in a file.
Returns
A FileFormatInfo
object that contains the detected information.
def detect_file_format(self, file_path):
...
Parameter | Type | Description |
---|---|---|
file_path | str | The file path. |
detect_file_format
Detects and returns the information about a format of an excel stored in a stream.
Returns
A FileFormatInfo
object that contains the detected information.
def detect_file_format(self, stream, password):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | |
password | str | The password for encrypted ooxml files. |
detect_file_format
Detects and returns the information about a format of an excel stored in a file.
Returns
A FileFormatInfo
object that contains the detected information.
def detect_file_format(self, file_path, password):
...
Parameter | Type | Description |
---|---|---|
file_path | str | The file path. |
password | str | The password for encrypted ooxml files. |
See Also
- module
aspose.cells
- class
FileFormatInfo
- class
FileFormatUtil