how to use PyRun_String

vb muk_pr at yahoo.com
Wed Jul 31 20:42:18 EDT 2002


after a PyRun_SimpleString("s='a string'");
how can I get s as a C PyObject*?
I tried PyRun_String but I dont know what to pass in last 2
params.(globals & locals dictionary) so it returns NULL.

Thanks.



More information about the Python-list mailing list