MIME Magic

Samuel knipknap at gmail.com
Sat Mar 17 19:54:29 EDT 2007


On Mar 18, 12:30 am, Jorge Godoy <jgo... at gmail.com> wrote:
> I'd start by taking a look at "file"'s code. :-)
>
> The thing is being able to identify the signatures of several different types
> of files.  Here's some help for you:http://www.garykessler.net/library/file_sigs.html
>
> And here's an example of an authoritative source for that table:http://www.libpng.org/pub/png/spec/1.2/PNG-Structure.html

Actually, I am looking for an existing solution because I do not want
to write it from scratch... I hope I am not out of options.

-Samuel




More information about the Python-list mailing list