John Dean wrote: > Is it possible to execute a whole script using the C API function > PyRun_String? At moment I load the script into a buffer. Then I get each > line of the script and pass it PyRun_String. This seems very inefficient. It > would be more efficient if I could pass the complete string buffer to > PyRun_String and execute the script as a whole
so why don't you try it? ;-) </F> -- http://mail.python.org/mailman/listinfo/python-list