Code to recognize MS-Word document files?

Christos TZOTZIOY Georgiou tzot at sil-tec.gr
Tue Mar 4 18:50:43 EST 2003


On 04 Mar 2003 16:59:40 GMT, rumours say that grante at visi.com (Grant
Edwards) might have written:

>The code needs to run on a win32 platform, but I can probably
>glean enough information from /usr/share/magic to figure it
>out.

I think all MS office documents do have first byte "0xd0" and second
byte "0xc?", where ? means I don't remember, simulating hex-talk for
"doc" (0xd0c?)
-- 
TZOTZIOY, I speak England very best,
bofh at sil-tec.gr
(I'm a postmaster luring spammers; please spam me!
...and my users won't ever see your messages again...)




More information about the Python-list mailing list