How can I make a time delay in Python? [duplicate] Here is another example where something is run approximately once a minute: