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 "ImportError"
all the time? 

 Any help would be appreciated !

R.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to