Keeping the console window

Sam samuel.progin at gmail.com
Sun Mar 2 16:55:23 CET 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