understand program used to create file

Dave Angel d at davea.name
Tue Nov 1 16:08:50 EDT 2011


On 11/01/2011 03:27 PM, pacopyc wrote:
> Hi, I have about 10000 files .doc and I want know the program used to
> create them: writer? word? abiword? else? I'd like develop a script
> python to do this. Is there a module to do it? Can you help me?
>
> Thanks
If you're on Linux, just use the process module to invoke "file" and 
examine the results.

If you're not, then be more specific about the environment.

-- 

DaveA




More information about the Python-list mailing list