views:

1744

answers:

2

I want my script to wait until my users presses the any key.

How do I do that?

+11  A: 

One way to do this is to use raw_input():

raw_input("Press Enter to continue...")
Greg Hewgill
+9  A: 

In Python 3, no raw_input() exists. So, just use:

input("Press Enter to continue...")
Selinap