pause python
December 16th, 2006 by Lawrence David
if you’d to insert a pause into a python script, use the time module and call the “sleep” method. it takes arguments of seconds.
import time
time.sleep(1)
note that if what you’re really trying to do is set breakpoints and debug your script, you should be looking at the python debugger instead.
Thanks! New to python, great tip.
didn’t work for me, amidoinitwrong?