Help with C extensions under VC6 / WinXP and Python 2.4

Fredrik Lundh fredrik at pythonware.com
Thu Feb 17 03:35:28 EST 2005


Simon John wrote:

> What's the difference between ctypes, SWIG and SIP?
>
> I've used SWIG to "convert" C source to Python (as I believe SIP
> does?), so does ctypes wrap functions from binaries (e.g. DLL's)?

ctypes is a "runtime linker".  it generates bindings on the fly, at runtime,
and doesn't require a separate compilation step.

</F> 






More information about the Python-list mailing list