Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

time.sleep() faster

> pip install timev2
_________________________________________
from TimeV2 import time2

# Before wait
timeToWait = 0.000001 # Time to wait
unixStart = time2.unix()

while time2.unix()-unixStart < timeToWait:
    continue

# After wait
print("Time up!")
 
PREVIOUS NEXT
Tagged: #faster
ADD COMMENT
Topic
Name
5+9 =