detect_file_format Methode

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):
    ...
ParameterTypBeschreibung
streamio.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):
    ...
ParameterTypBeschreibung
file_pathstrDer 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):
    ...
ParameterTypBeschreibung
streamio.RawIOBase
passwordstrDas 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):
    ...
ParameterTypBeschreibung
file_pathstrDer Dateipfad.
passwordstrDas Passwort für verschlüsselte ooxml-Dateien.

Siehe auch