Calling foreign functions from Python? ctypes?

"Martin v. Löwis" martin at v.loewis.de
Fri Jan 6 18:09:09 EST 2006


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".

> Is there any plan to get ctypes batteries into the standard Python build?

I don't have such a plan. To my knowledge, ctypes has never been
contributed to Python, either, so its author apparently has no plan,
either.

Regards,
Martin



More information about the Python-list mailing list