随笔分类 -  Python

摘要:import timedjsj_str="2020-05-22 15:30:29" #a 冻结时间字符串djsc =7*24*60*60 #b 冻结时长 7天t1 =time.strptime(djsj_str,"%Y-%m-%d %H:%M:%S")t2 =time.mktime(t1) #冻结时 阅读全文
posted @ 2020-05-24 21:53 AcmCoder 阅读(450) 评论(0) 推荐(0)