[BangPypers] Calling Python script from C++.

Zubin Mithra zubin.mithra at gmail.com
Thu Feb 25 12:41:18 CET 2010


could you give us a few more details? the deployment OS?


cheers!!!
Zubin



On Thu, Feb 25, 2010 at 12:51 PM,  <lakshmi.chowdam at bt.com> wrote:
> 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 at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list