Wait at EOF when executing a Python-Script?
Heiko Wolf
heiko.wolf at dlr.de
Thu Mar 7 03:39:25 EST 2002
Hi,
I got a Python program that executes a user-definied script (also
written in Python) with the execfile()-command.
Now another program should write its own data (e.g. Python commands)
at the end of the above mentioned script file...
Is there a way that Python waits at the end of the script and looks if
there come any new lines? It should only stop when a special keyword
comes up.
It is needed that the script is in Python, maybe there is another way
of executing it than with execfile()?
Cheers, Heiko
More information about the Python-list
mailing list