detect_file_format Methode
Inhalt
[
Ausblenden
]detect_file_format(, Stream)
Erkennt und gibt die Informationen zum Format einer in einem Stream gespeicherten Excel-Datei zurück.
Kehrt zurück
Ein FileFormatInfo-Objekt, das die erkannten Informationen enthält.
@staticmethod
def detect_file_format(stream):
...
| Parameter | Typ | Beschreibung |
|---|---|---|
| stream | io.RawIOBase |
detect_file_format(, Dateipfad)
Erkennt und gibt Informationen zum Format einer in einer Datei gespeicherten Excel-Datei zurück.
Kehrt zurück
Ein FileFormatInfo-Objekt, das die erkannten Informationen enthält.
@staticmethod
def detect_file_format(file_path):
...
| Parameter | Typ | Beschreibung |
|---|---|---|
| file_path | str | Der Dateipfad. |
detect_file_format(, Stream, Passwort)
Erkennt und gibt die Informationen zum Format einer in einem Stream gespeicherten Excel-Datei zurück.
Kehrt zurück
Ein FileFormatInfo-Objekt, das die erkannten Informationen enthält.
@staticmethod
def detect_file_format(stream, password):
...
| Parameter | Typ | Beschreibung |
|---|---|---|
| stream | io.RawIOBase | |
| password | str | Das Passwort für verschlüsselte ooxml-Dateien. |
detect_file_format(, Dateipfad, Passwort)
Erkennt und gibt Informationen zum Format einer in einer Datei gespeicherten Excel-Datei zurück.
Kehrt zurück
Ein FileFormatInfo-Objekt, das die erkannten Informationen enthält.
@staticmethod
def detect_file_format(file_path, password):
...
| Parameter | Typ | Beschreibung |
|---|---|---|
| file_path | str | Der Dateipfad. |
| password | str | Das Passwort für verschlüsselte ooxml-Dateien. |
Siehe auch
- Modul
aspose.cells - Klasse
FileFormatInfo - Klasse
FileFormatUtil