Pause execution of a Python program

aaron's profile image
By aaron

To pause execution of a #python program:

```python
import time

print "Blah"
# Sleep 5 seconds
time.sleep(5)
print "Foo"
```

#programming

Support the author

This author accepts donations via the services listed below. Your donation will help them continue to create great content!

* Lernabit doesn't take any of the money from your donation, but the donation services or payment processors might take a fee. These trademarks are the property of their respective owners.

Replies

Login or signup to leave a reply.

Signup Login
No more replies to show here