I am working to print out a message to the terminal once every minute. I cannot use time.sleep() because there are other things that need to continue to run. Here is the what I have so far, but I am sure that there is a more legitimate what of doing this
startTime = time.time()
.
..
...
code to run other things
...
..
.
endTime= time.time()
epochTime = int(endTime - startTime)
print ('epochTime: ' + str(epochTime))
if (epochTime % 60):
print ('A minute has passed')
Please advice on my best course of acton here