import sys
import os
import datetime
# 获取系统时间
def lm_get_system_time():
ISOTIMEFORMAT = '%Y%m%d-%H%M%S' # 系统时间格式
current_time = datetime.datetime.now().strftime(ISOTIMEFORMAT)
return current_time
python 获取系统时间
最新推荐文章于 2022-07-08 17:39:23 发布