Variables.

Jeff Shannon jeff at ccvcorp.com
Tue Feb 15 15:16:38 EST 2005


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

>> HELP plz
> 
> No one can help you if you don't explain your problem. We are not 
> psychic enough to read your mind !-)

Indeed -- it looks like this worked perfectly to me, so the issue is 
in what's expected.  :)

Jeff Shannon
Technician/Programmer
Credit International




More information about the Python-list mailing list