Like,when starting the program it starts a count(in seconds),during the course of the program I ask to read how long the program is running(Ex:80 Seconds) .
import time
tempo_inicial = time.time()
funcao() # chame a função que deseja medir o tempo de execução aqui
print("--- %s segundos ---" % (time.time() - tempo_inicial))
Give examples please.
– Woss
Like,when starting the program it starts a count(in seconds),during the course of the program I ask to read how long the program is running(Ex:80 Seconds) .
– RoktSe