طريقة detect_file_format
محتويات
[
يخفي
]detect_file_format(, تيار)
يكتشف ويعيد المعلومات حول تنسيق Excel المخزن في مجرى.
عائدات
كائن FileFormatInfo
يحتوي على المعلومات المكتشفة.
@staticmethod
def detect_file_format(stream):
...
معامل | يكتب | وصف |
---|---|---|
stream | io.RawIOBase |
detect_file_format(, مسار الملف)
يكتشف ويعيد المعلومات حول تنسيق ملف Excel المخزن في ملف.
عائدات
كائن FileFormatInfo
يحتوي على المعلومات المكتشفة.
@staticmethod
def detect_file_format(file_path):
...
معامل | يكتب | وصف |
---|---|---|
file_path | str | مسار الملف. |
detect_file_format(, تيار, كلمة المرور)
يكتشف ويعيد المعلومات حول تنسيق Excel المخزن في مجرى.
عائدات
كائن FileFormatInfo
يحتوي على المعلومات المكتشفة.
@staticmethod
def detect_file_format(stream, password):
...
معامل | يكتب | وصف |
---|---|---|
stream | io.RawIOBase | |
password | str | كلمة المرور لملفات ooxml المشفرة. |
detect_file_format(، مسار الملف، كلمة المرور)
يكتشف ويعيد المعلومات حول تنسيق ملف Excel المخزن في ملف.
عائدات
كائن FileFormatInfo
يحتوي على المعلومات المكتشفة.
@staticmethod
def detect_file_format(file_path, password):
...
معامل | يكتب | وصف |
---|---|---|
file_path | str | مسار الملف. |
password | str | كلمة المرور لملفات ooxml المشفرة. |
أنظر أيضا
- الوحدة
aspose.cells
- فئة
FileFormatInfo
- فئة
FileFormatUtil