Calling C or C++ Functions inside Python script

Chris Rebert clp2 at
Sat Jul 4 12:29:30 CEST 2009

On Sat, Jul 4, 2009 at 3:06 AM, Parikshat Dubey<parikshatdubey at> wrote:
> Hi,
> Is this possible to call C functions(inbuilt or user defined) inside python
> script.If yes, please illustrate how it can be done.

The `ctypes` module:
Note: does not work w/ C++ directly.


More information about the Python-list mailing list