Re: How to get the version of a file on WinOS?

2009-04-02 Thread Hill
On 3月26日, 下午4时27分, Tim Golden 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 probab

Re: How to get the version of a file on WinOS?

2009-03-26 Thread Tim Golden
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/pyth

Re: How to get the version of a file

2008-04-14 Thread Miki
Hello J, > Does anyone know how to get the version of an application on OS X (i.e. > the version string that appears in the "Version" field in the "Get Info" > window for an application)? > > I'm running OS 10.4.11, python 2.5. #!/usr/bin/env python from xml.etree.cElementTree import iterparse f

Re: How to get the version of a file

2008-04-14 Thread J Wilson
I'm not clear on how to use this to read the version resource. Specially, I need to get the version of Palm Conduit, which is, I guess, a "carbonized" shared library... or something. ? [EMAIL PROTECTED] wrote: > you need appscript "that allows you to control scriptable Mac OS X > applications

Re: How to get the version of a file

2008-04-14 Thread martin . laloux
you need appscript "that allows you to control scriptable Mac OS X applications from Python" http://pypi.python.org/pypi/appscript/0.18.1 -- http://mail.python.org/mailman/listinfo/python-list