> Another thing, I work on linux (gentoo) and I would like to use the
"file" command to retrieve informations about type of file instead of
using extensions, do you think this can be done?

this is trivial:

>>> import os
>>> os.popen("file /etc/passwd").read()
'/etc/passwd: ASCII text\n'

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to