File type recognition

Greg Fortune lists at gregfortune.com
Wed Jun 11 10:57:12 EDT 2003


Take a look at the standard module, mimetypes.

Greg

Sami Viitanen wrote:

> Hi,
> 
> 
> Does anyone know if there is a python script that can recognize the file
> type ie. is the file content binary or text.





More information about the Python-list mailing list