Lee Harr wrote: > Is there a method in the python standard library to determine > the type of a file, similar to the unix file command? An attempt to a python implementation of the unix file command (see man 4 magic): http://py.vaults.ca/~x/parnassus/parnassus/apyllo.py/514463245.39015704.339051821 Daniel