طريقة detect_file_format

detect_file_format(, تيار)

يكتشف ويعيد المعلومات حول تنسيق Excel المخزن في مجرى.

عائدات

كائن FileFormatInfo يحتوي على المعلومات المكتشفة.


@staticmethod
def detect_file_format(stream):
    ...
معامليكتبوصف
streamio.RawIOBase

detect_file_format(, مسار الملف)

يكتشف ويعيد المعلومات حول تنسيق ملف Excel المخزن في ملف.

عائدات

كائن FileFormatInfo يحتوي على المعلومات المكتشفة.


@staticmethod
def detect_file_format(file_path):
    ...
معامليكتبوصف
file_pathstrمسار الملف.

detect_file_format(, تيار, كلمة المرور)

يكتشف ويعيد المعلومات حول تنسيق Excel المخزن في مجرى.

عائدات

كائن FileFormatInfo يحتوي على المعلومات المكتشفة.


@staticmethod
def detect_file_format(stream, password):
    ...
معامليكتبوصف
streamio.RawIOBase
passwordstrكلمة المرور لملفات ooxml المشفرة.

detect_file_format(، مسار الملف، كلمة المرور)

يكتشف ويعيد المعلومات حول تنسيق ملف Excel المخزن في ملف.

عائدات

كائن FileFormatInfo يحتوي على المعلومات المكتشفة.


@staticmethod
def detect_file_format(file_path, password):
    ...
معامليكتبوصف
file_pathstrمسار الملف.
passwordstrكلمة المرور لملفات ooxml المشفرة.

أنظر أيضا