Calling foreign functions from Python? ctypes?

Paul Watson pwatson at redlinepy.com
Fri Jan 6 19:48:22 EST 2006


Martin v. Löwis wrote:
> Paul Watson wrote:
> 
>>I need to call some Windows APIs.  Is the only way to download ctypes or
>>the win32 interfaces?
> 
> 
> That depends on the specific win32 interface you want to call.
> Typically, the answer is "yes".

I have used _winreg and I see winsound in the doc.

I need to call GetVersionInfo() and handle VERSIONINFO information.  I 
thought that distutils might have something, but I do not see it yet. 
Any suggestions?



More information about the Python-list mailing list