Question about PyRun_SimpleString

vm_usenet vm_usenet at yahoo.com
Mon Dec 3 10:18:26 EST 2001


Hi everyone,

Is there any way to feed more than one line of code to
PyRun_SimpleString?
I tried to enter tabs and newlines to the string given as input, but
it is still not executed. The only thing I could achieve is to
seperate two statements with a semicolon, join them and then run the
resulting string.

How could I do such a thing?

thanks in advance,

vm



More information about the Python-list mailing list