Calling foreign functions from Python? ctypes?
"Martin v. Löwis"
martin at v.loewis.de
Fri Jan 6 20:57:26 EST 2006
Paul Watson wrote:
> 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?
You could write this specific API in VB, and then run cscript.exe in
a pipe; or you could write a wrapper module just for that specific
API (in case PythonWin is too large for you).
Regards,
Martin
More information about the Python-list
mailing list