How to get the version of a file on WinOS?

Hill zhubicen at gmail.com
Thu Apr 2 03:28:22 EDT 2009


On 3月26日, 下午4时27分, Tim Golden <m... at timgolden.me.uk> wrote:
> Hill wrote:
> > 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

That's what i need. Thank you very much!



More information about the Python-list mailing list