A way to wait Python event

Robert Brewer fumanchu at amor.org
Tue Nov 30 17:54:57 EST 2004


Diez B. Roggisch 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"?
> 
...
> Apart from that, there might be some hidden "keep this damn 
> window open
> after the executed progam terminated"-checkbox. Happy hunting.

http://www.google.com/search?q=windows+console+remain+open

Use the /k switch to cmd.exe


Robert Brewer
MIS
Amor Ministries
fumanchu at amor.org



More information about the Python-list mailing list