Calling a python function from C++

lamthierry at gmail.com lamthierry at gmail.com
Sun May 8 13:31:36 EDT 2005


Let's say I have a python function do some math like the following:

def doMath(self):
   self.val = self.val + 1


How can I call this python function from C++? Assuming I have some sort
of Python wrapper around my C++ codes.




More information about the Python-list mailing list