Calling foreign functions from Python? ctypes?

Paul Watson pwatson at redlinepy.com
Mon Jan 9 12:07:44 EST 2006


Neil Hodgson wrote:
> Paul Watson:
> 
>> I cannot find any way to get to GetVersionInfo in VBScript (cscript).
> 
> 
> Set objFSO = CreateObject("Scripting.FileSystemObject")
> Wscript.Echo objFSO.GetFileVersion("c:\bin\SciLexer.dll")

Many thanks.  Just what I needed.  (Short of ctypes.)  Thank you for 
tolerating a VBScript question here.



More information about the Python-list mailing list