Code to recognize MS-Word document files?
Grant Edwards
grante at visi.com
Tue Mar 4 11:26:43 EST 2003
I'm looking for a snippet of python that I can use to determine
if a file is a MS-Word document. People around here seem to
have gotten into the habit of attaching MS-Word files without a
".doc" on the name.
Even with the .doc, the mimetypes module doesn't seem to get it
right. :(
--
Grant Edwards grante Yow! Hey, LOOK!! A pair of
at SIZE 9 CAPRI PANTS!! They
visi.com probably belong to SAMMY
DAVIS, JR.!!
More information about the Python-list
mailing list