Variables.

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Tue Feb 15 18:50:35 EST 2005


Jeff Shannon a écrit :
> bruno modulix wrote:
> 
>> administrata wrote:
>>
>>> I wrote this, It's a bit lame though
>>>
>> (snip code - see other answers in this thread)
>>
>>> raw_input("\n\\t\t\t- The End -")
>>
>>
>>
>> Why on earth are you using raw_input() here ?
> 
> 
> This is a fairly common idiom, on Windows at least.  

Windows only, I guess...

> If running a 
> console app from Explorer, the console will close as soon as the app 
> terminates.  Using raw_input() at the end of the app means that it won't 
> close until the user hits Enter.

So why dont you just open the console before running the app, then ?-)

Bruno



More information about the Python-list mailing list