[OT ?] (Pythonic) detection word protected files

Gilles Lenfant gilles.lenfant at nospam.com
Tue Jun 14 09:31:26 EDT 2005


Gerald Klix a écrit :
> Perhaps you can use OpenOffice and it's python UNO Bindings?
> I only know about their existence, but perhaps this will be a starting 
> point: http://udk.openoffice.org/

Thanks, I already considered this but didn't find the way to get the 
encryption information (protected or not) in the UNO API.

Anyway UNO is somehow overkill to get something like a pair of bytes at 
some position in the file (4 or 5 python lines with the standard packages).

Many thanks

--
Gilles



More information about the Python-list mailing list