guessing file type

Seldon seldon at
Fri Jul 17 14:23:45 CEST 2009

Hello,  I need to determine programmatically a file type from its 
content/extension (much like the "file" UNIX command line utility)

I searched for a suitable Python library module, with little luck. Do 
you know something useful ?

Thanks in advance.

More information about the Python-list mailing list