11 2020 档案
摘要:# 根据一年中的第几周来获取对应的时间import timea=time.strptime('2020-2-0', '%Y-%U-%w')print(a)# 给定一个时间获取该时间是一年中的第几周import datetimedownload_time="2020-01-06"a = time.st
阅读全文
摘要:from threading import Thread class MyThread(Thread): def __init__(self, func, args): super(MyThread, self).__init__() self.func = func self.args = arg
阅读全文