[BangPypers] Calling Python script from C++.

Gora Mohanty gora at srijan.in
Thu Feb 25 09:11:21 CET 2010


On Thu, 25 Feb 2010 07:21:15 -0000
<lakshmi.chowdam at bt.com> wrote:
[...]
> 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

http://lmgtfy.com/?q=python+call+c might be of help.

Regards,
Gora


More information about the BangPypers mailing list