11 2020 档案

摘要:# 根据一年中的第几周来获取对应的时间import timea=time.strptime('2020-2-0', '%Y-%U-%w')print(a)# 给定一个时间获取该时间是一年中的第几周import datetimedownload_time="2020-01-06"a = time.st 阅读全文
posted @ 2020-11-19 09:13 没有显示名称 阅读(1627) 评论(0) 推荐(0)
摘要:from threading import Thread class MyThread(Thread): def __init__(self, func, args): super(MyThread, self).__init__() self.func = func self.args = arg 阅读全文
posted @ 2020-11-17 14:26 没有显示名称 阅读(174) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示