wait for keystoke

John Purser jmpurser at gmail.com
Wed Aug 30 12:57:37 EDT 2006


On Wed, 30 Aug 2006 12:45:41 -0400
"david brochu jr" <brochu121 at gmail.com> wrote:

> I want to add a "press any key to continue" option to my script,
> where the script pauses until the users presses any key. Does anyone
> know how I would do this without having to add in an if statement in
> the middle of my existing script? Is there a method already to
> accomplish this?
> 
David,

Take a look at input() and raw_input().

John Purser



More information about the Python-list mailing list