> 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'