I never have it. Although when I ask for option I use 
int(raw_input('Option:')) instead of raw_input('Option:'). That's usually 
near the top, but part of a while loop.
----- Original Message ----- 
From: "Kent Johnson" <[EMAIL PROTECTED]>
Cc: <tutor@python.org>
Sent: Saturday, July 30, 2005 8:55 PM
Subject: Re: [Tutor] How do I get rid of blank space when running a program 
I'vecoded?


> Do you have a call to raw_input() at the end of your program? That will 
> make you press return to exit the program. It's useful for command-line 
> programs that you want to run by double-clicking them but you can take it 
> out if you find it annoying.
>
> Kent
>
> Nathan Pinno wrote:
>> I meant the return key, not the spacebar. Sorry for the mix-up.
>>
>>     ----- Original Message -----
>>     *From:* Nathan Pinno <mailto:[EMAIL PROTECTED]>
>>     *To:* tutor@python.org <mailto:tutor@python.org>
>>     *Sent:* Saturday, July 30, 2005 3:50 PM
>>     *Subject:* [Tutor] How do I get rid of blank space when running a
>>     program I'vecoded?
>>
>>     Hi all,
>>
>>     I'll be brief. I always get a blank line whenever I run my Python
>>     programs that I've coded. How can I get rid of it. It's kind of
>>     annoying to press the spacebar in order to return to >>> in IDLE or
>>     the C:\ prompt in DOS.
>>
>>     Thanks,
>>     Nathan
>>
>>     ------------------------------------------------------------------------
>>
>>     _______________________________________________
>>     Tutor maillist  -  Tutor@python.org <mailto:Tutor@python.org>
>>     http://mail.python.org/mailman/listinfo/tutor
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Tutor maillist  -  Tutor@python.org
>> http://mail.python.org/mailman/listinfo/tutor
>
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
> 
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to