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 获取系统时间
猜你喜欢
转载自blog.csdn.net/zxcasd11/article/details/105203690
今日推荐
周排行