Simultaneous PyRun_SimpleFile's
Devrim Erdem
devrim at machsim.com
Mon Jan 27 10:30:51 EST 2003
I have an application in which I have placed a python interpreter. I
would like to run several python script files at the same time.
Naturally they will run in a thread. I have thought about two ways of
doing this.
Either
======
Run a file in a C thread.
Or
===
Run each file in a Python thread
For simplicty I would prefer c threads, but I am not sure if the
interpreter can run two PyRun_SimpleFile functions at the same time.
Thanks in advance,
Regards,
More information about the Python-list
mailing list