how to use PyRun_String

vb muk_pr at yahoo.com
Thu Aug 1 02:42:18 CEST 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