On Sat, Jul 4, 2009 at 05:06, Parikshat Dubey 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.
> Thanks,
> Parikshat Dubey
>From http://www.swig.org :
"SWIG is a software development tool that conn
On Sat, Jul 4, 2009 at 3:06 AM, Parikshat Dubey 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:
http://docs.python.org/library/ctypes.html
Note: does not work w/ C++ directly.