Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

command prompt pause in python

# Don't use os.system("pause"), it is very slow because it needs to create
# an entire shell process. Use this instead:

import getch

def pause():
  print("Press any key to continue . . . ")
  getch.getch()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #command #prompt #pause #python
ADD COMMENT
Topic
Name
9+4 =