from_filename method

from_filename

Returns FileType for specified fileName

Returns

The file type of specified file name

def from_filename(self, file_name):
    ...
Parameter Type Description
file_name str The file name

See Also