[Tutor] How do I get rid of blank space when running a program I'vecoded?
Kent Johnson
kent37 at tds.net
Sun Jul 31 04:55:08 CEST 2005
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:falcon3166 at hotmail.com>
> *To:* tutor at python.org <mailto:tutor at 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 at python.org <mailto:Tutor at python.org>
> http://mail.python.org/mailman/listinfo/tutor
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
More information about the Tutor
mailing list