View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#226
Originally Posted by qwerty12 View Post
...but you are passed the full path which is enough to figure out the MIME type in your program (I think GnomeVFS has functions for this).
Does anyone know how to do this in Python? What library would one use?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!