Il 07/09/2011 15:51, Stephan Witt ha scritto:
Am 07.09.2011 um 15:40 schrieb Tommaso CucinottaAlso, why don't we use the "file" tool, or the libmagic library to detect file formats from the contents ?How portable would that be?
Win: http://gnuwin32.sourceforge.net/packages/file.htm Mac: you compile GNU stuff on Mac, right ?Also, I spotted around some "python-magic" module for Python, but I couldn't understand whether it's easily installable on Win.
T.