Answers for "mesure time python"

0

python currnent time

from datetime import datetime
now = datetime.now()
print(now.strftime("%d/%m/%Y %H:%M:%S"))
Posted by: Guest on July-16-2021
2

time in python

import time
thistime = time.time()
# Here's an idea!
def CountTime():
  while(True):
    time.sleep(1)
    print(thistime)
CountTime()
Posted by: Guest on January-22-2021

Python Answers by Framework

Browse Popular Code Answers by Language