函数计时器
Project description
计时器-zyf_timer
安装
pip install zyf_timer
使用
from zyf_timer import timeit
@timeit
def main():
time.sleep(1)
...
设置保留位数,默认保留两位小数
from zyf_timer import timeit_with_digit
@timeit_with_digit(digit=4)
def main():
time.sleep(1)
...
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zyf_timer-1.2.tar.gz
(1.8 kB
view hashes)