how to call API Functions in python

Fredrik Lundh fredrik at pythonware.com
Sun Aug 17 14:30:45 EDT 2008


raashid bhatt wrote:

>> The same way as you'd call any other function, of course.  What API are
>> you referring to?
> 
> i am talking about WINAPI

use pywin32 or ctypes:

     http://wiki.python.org/moin/PyWin32
     http://docs.python.org/lib/module-ctypes.html

for some kinds of Windows programming, IronPython might be an even 
better choice:

     http://www.codeplex.com/IronPython

</F>




More information about the Python-list mailing list