Calling foreign functions from Python? ctypes?

Thomas Heller theller at python.net
Mon Jan 9 02:13:49 EST 2006


"=?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?=" <martin at v.loewis.de> writes:

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

As the author, I would be happy to see ctypes included with the standard
Python build.

Thomas



More information about the Python-list mailing list