Keeping the Console Open with IDLE

W. eWatson notvalid2 at sbcglobal.net
Fri Feb 20 07:30:21 EST 2009


Matimus wrote:
> 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
I can open the Python command line from Start, but how do I navigate to the 
folder where the program is?

-- 
                                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/>




More information about the Python-list mailing list