pythontimersleepmilliseconds

How do I get my program to sleep for 50 milliseconds?


How do I get my Python program to sleep for 50 milliseconds?


Solution

  • Use time.sleep()

    from time import sleep
    sleep(0.05)