disappearing interpreter

André andre.roberge at gmail.com
Sat May 31 21:24:35 EDT 2008


On May 31, 8:59 pm, oregon skip <skipjack... at clearwire.net> wrote:
> I am a new Python programmer, using Windows XP, IDLE and the
> interpreter. Everything is
> OK except that when I double check a name.py file it runs on the
> interpreter, but the
> window disappears before I can see what happened. Any suggestions?

This is because the entire program runs ... and ends quickly.

Try to add the following line:

raw_input("Done.  Press the enter key to quit.")

André



More information about the Python-list mailing list