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

Your email address will not be published. Required fields are marked *