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

Reply via email to