Code to recognize MS-Word document files?

Thomas Wana thomas_hatesspam at wana.at
Tue Mar 4 13:07:52 EST 2003


WP wrote:

> // My word files all seem to start like this
> // (MS Office 2000 WORD iles)
> //  d0 cf 11 e0 a1 b1 1a e1 00 00 00 00 00 00
> //  00 00 00 00 00 00 00 00 00 00
> // Your mileage may vary.

MS Excel files have the same signature; it seems
that all office documents have it. 

(I know that because I had to manually recover
some lost excel files from a vfat partition)

Thomas

> 
> Warren





More information about the Python-list mailing list