python获取电脑当前的时间
import datetime # 获得当前时间 now = datetime.datetime.now() other_StyleTime = now.strftime("%Y-%m-%d %H:%M:%S") print(other_StyleTime)
京公网安备 11010502049817号