TECHIES WORLD

For Techs.... Techniques.... Technologies....

LinuxPython

How to make delays in Python script

Time module provides the functionality to make delays in Python script.

import time
time.sleep(interval)

Where 'interval' is the required delay in seconds.

 

Leave a Reply