0.1.183
This commit is contained in:
parent
c068394f9b
commit
92221832d6
@ -1,7 +1,7 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
# replace with your username:
|
# replace with your username:
|
||||||
name = guan
|
name = guan
|
||||||
version = 0.1.182
|
version = 0.1.183
|
||||||
author = guanjihuan
|
author = guanjihuan
|
||||||
author_email = guanjihuan@163.com
|
author_email = guanjihuan@163.com
|
||||||
description = An open source python package
|
description = An open source python package
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Metadata-Version: 2.4
|
Metadata-Version: 2.4
|
||||||
Name: guan
|
Name: guan
|
||||||
Version: 0.1.182
|
Version: 0.1.183
|
||||||
Summary: An open source python package
|
Summary: An open source python package
|
||||||
Home-page: https://py.guanjihuan.com
|
Home-page: https://py.guanjihuan.com
|
||||||
Author: guanjihuan
|
Author: guanjihuan
|
||||||
|
@ -9,7 +9,7 @@ def logging_with_day_and_time(content='', filename='time_logging', file_format='
|
|||||||
if content == '':
|
if content == '':
|
||||||
f2.write(datetime_today+' '+datetime_time+'\n')
|
f2.write(datetime_today+' '+datetime_time+'\n')
|
||||||
else:
|
else:
|
||||||
f2.write(datetime_today+' '+datetime_time+' '+content+'\n')
|
f2.write(datetime_today+' '+datetime_time+' '+str(content)+'\n')
|
||||||
|
|
||||||
# 使用该函数运行某个函数并获取函数计算时间(秒)
|
# 使用该函数运行某个函数并获取函数计算时间(秒)
|
||||||
def timer(function_name, *args, **kwargs):
|
def timer(function_name, *args, **kwargs):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user