Hello I just make this script loop, but now it loops indefinitely, I would like to make the loop every 5 seconds for example, I run the script and wait 5 seconds and run again. This is the code that i have right now.
import gdown
def test():
url = 'https://drive.google.com/uc?id=1RUySVmR2ASrnNf3XV4sdIpKD4QbUlQL8A'
output = 'spam.txt'
gdown.download(url, output, quiet=False)
while True:
test()