Keeping the console window

Sam samuel.progin at gmail.com
Sun Mar 2 10:55:23 EST 2008


You may use python in interactive mode:

$ python -i yourScript.py

Or use a blocking readline:

$ cat yourScript.py
import sys
sys.stdin.readline()

++

Sam



More information about the Python-list mailing list