Calling python functions from C

robert.differentone at gmail.com robert.differentone at gmail.com
Tue May 9 13:05:48 EDT 2006


I am a newbie to Python. I want to call python functions from C. I
looked for examples but I couldn't get any simple one. Lets say my
python code is :
def add(a,b)
     return (a+b)

I want to call add from C. Could anybody please help me? Thanks in
advance.

R.




More information about the Python-list mailing list