guessing file type

Justin Ezequiel justin.mailinglists at gmail.com
Fri Jul 17 09:58:13 EDT 2009


On Jul 17, 8:39 pm, VanL <van.lindb... at gmail.com> wrote:
> Seldon wrote:
> > 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 ?
>

I've used the magic.py module by "Jason Petrone" before.
http://tinyurl.com/ldho8m



More information about the Python-list mailing list