How to get the version of a file on WinOS?

H

Hill

As you know , we can see the file version from by "right click menu
and click the detail tab".
Now i am wondering how to get this version number using python?
Thanks very much!

BR
 
T

Tim Golden

Hill said:
As you know , we can see the file version from by "right click menu
and click the detail tab".
Now i am wondering how to get this version number using python?
Thanks very much!

If you're talking about a .DLL then this is probably
what you're looking for:

http://timgolden.me.uk/python/win32_how_do_i/get_dll_version.html

If you're talking about something else, say a Word doc
or some other structured storage file, the answer's
more complicated.

TJG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top