getting mimetype of a file

Christos TZOTZIOY Georgiou tzot at
Tue Jun 1 00:03:43 CEST 2004

On Mon, 31 May 2004 19:58:10 GMT, rumours say that Ryan Paul
<segphault at> might have written:

>> is there any way to determine the mimetype of a file using ruby?
>=P just realized I sent this to the wrong list. as long as I'm here... how
>is it done in python?

The module in the standard library is your friend.
TZOTZIOY, I speak England very best,
"I have a cunning plan, m'lord" --Sean Bean as Odysseus/Ulysses

More information about the Python-list mailing list