Keeping the Console Open with IDLE

Matimus mccredie at gmail.com
Fri Feb 20 00:42:08 EST 2009


On Feb 19, 8:06 pm, "W. eWatson" <notval... at sbcglobal.net> wrote:
> I'm using IDLE for editing, but execute programs directly. If there are
> execution or "compile" errors, the console closes before I can see what it
> contains. How do I prevent that?
> --
>                                 W. eWatson
>
>               (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
>                Obz Site:  39° 15' 7" N, 121° 2' 32" W, 2700 feet
>
>                      Web Page: <www.speckledwithstars.net/>

Open a console window and type in the name of the script rather than
just double clicking on it. Or, you can terminate your script with a
'raw_input("press enter to quit")'.

Matt



More information about the Python-list mailing list