Guest User

Untitled

a guest
Oct 21st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. # 计时器
  2.  
  3.  
  4. import time
  5.  
  6. WhenStart = time.time()
  7.  
  8. '''
  9. process
  10. '''
  11.  
  12. duration = time.time() - WhenStart
  13.  
  14. print('Training complete in {:.0f}m {:.0f}s'.format(time_elapsed // 60, time_elapsed % 60))
Add Comment
Please, Sign In to add comment