Reputation: 55
I have a "FOR" loop in the python 2.7 web scraping programme and I am going to insert a time gap of 1 second at the end of the FOR loop. How can I do that? Thanks.
Upvotes: 0
Views: 1365
Reputation: 386
Import the time library: import time;
And use: time.sleep(1)
Upvotes: 1