time

import time
print(f'Started at {time.strftime("%X")}')
# do something
print(f'Finished at {time.strftime("%X")}')