A way to wait Python event

Josiah Carlson jcarlson at uci.edu
Thu Dec 2 21:12:26 EST 2004


changli_to at hotmail.com (Chang LI) wrote:
> 
> I tried to launch "python.exe test.py" in another program. After the
> launch the console was showed and exited on Windows. I want the
> console stay there. Is there a Python statement to wait an event loop
> like Tcl's "after forever"?

I'm a fan of...

_ = raw_input('press enter to continue...')


 - Josiah




More information about the Python-list mailing list