It seems fine to me (or raw_input()
in Python 2.X). Alternatively, you could use time.sleep()
if you want to pause for a certain number of seconds.
import time
print("something")
time.sleep(5.5) # Pause 5.5 seconds
print("something")
More Related Contents:
- How can I make a time delay? [duplicate]
- How accurate is python’s time.sleep()?
- tkinter and time.sleep
- How do I get my program to sleep for 50 milliseconds?
- time.sleep — sleeps thread or process?
- How do I make a time delay? [duplicate]
- Python time.sleep() vs event.wait()
- time.sleep() and BackGround Windows PyQt5
- asyncio.sleep() vs time.sleep() in Python
- Python & Selenium: Difference between driver.implicitly_wait() and time.sleep()
- Upper limit in Python time.sleep()?
- Sleep for exact time in python
- Why does this recursion return 0?
- Does Python IDE have a module which imports math functions such as cos or sin? [closed]
- How to make program go back to the top of the code instead of closing [duplicate]
- Print a string as hexadecimal bytes
- What is a ‘NoneType’ object?
- Why is looping over range() in Python faster than using a while loop?
- How to increment a datetime by one day?
- Rename result columns from Pandas aggregation (“FutureWarning: using a dict with renaming is deprecated”)
- Python: give start and end of week data from a given date
- Custom Titlebar with frame in PyQt5
- How to include a quote in a raw Python string
- Python how to replace backslash with re.sub()
- Argparse – do not catch positional arguments with `nargs`.
- Change EXIF data on JPEG without altering picture
- multi core processing in for loop using numpy
- “@” symbol appearing after inserting IF formula into excel using Openpyxl
- Using interpreter to lookup module ‘sys’ in Python
- Python Pandas : pandas.to_datetime() is switching day & month when day is less than 13