Could anybody tell me how to call python modules from C.
e.g. my Python module :
def add(a,b)
return(a+b)
How can I call "add.py" from C? Please post any simple example.
I have read Python embedding in Python Manual but I get "ImportErro r"
all the time?
Any help would be appreciated !
R.
e.g. my Python module :
def add(a,b)
return(a+b)
How can I call "add.py" from C? Please post any simple example.
I have read Python embedding in Python Manual but I get "ImportErro r"
all the time?
Any help would be appreciated !
R.
Comment