Created
November 17, 2013 08:28
-
-
Save hicl/7510830 to your computer and use it in GitHub Desktop.
some hints about how using a time delay in Python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # one way: | |
| from time import sleep | |
| sleep(t) # --> (t) is an integer and it describes the time variable in seconds | |
| # another way: | |
| import time | |
| time.sleep(t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment