Hi,

 

We have a requirement of Calling Python script from C++.

 

So, For this we are trying to pass entire python script(Script has  both
method implementation and method calls are exist) as a string and
executing this string by using PyRun_SimpleString().

 

Our concern is that if python has a method with no arguments we are able
to execute it successfully

 

But If Method takes parameters or arguments ,then how do we can pass
values to that method and how can we execute it?

 

Could you please provide the solution.

 

Thanks and Regards,

Lakshmi Narasaiah C,

 

_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to