Hexo

Home Archives
2018-05-15
Python

python程序运行时间

1
2
3
4
5
6
import time

time_start = time.time()
time_end = time.time()

print('time cost',time_end-time_start,'ms')
Share
Newer
Shell Command
Older
Tree Traversals (Inorder, Preorder and Postorder)

Categories

  • Hexo
  • Java
  • Leetcode
  • Python
  • Shell Command
  • Uncategorized
  • Web
    • Back-end
      • Django
    • Front-end
  • python

Tags

  • Bit Manipulation
  • Git
  • Set

Tag Cloud

Bit Manipulation Git Set

Archives

  • September 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018

Recent Posts

  • Leetcode 经验
  • Establish a django project
  • Set Max and Min in Python
  • Build a html page
  • HTML Basics
© 2018 John Doe
Powered by Hexo
Home Archives