- 博客(2)
- 收藏
- 关注
原创 python实战案例之日期加减(月份加减)
import datetime with open(r'account.txt', 'r', encoding='utf-8') as file: lines = file.readlines() beginMonth = lines[0].strip('\n') endMonth=lines[1].strip('\n') def monthRange(beginMonth, endMonth): months = set([]) mt = datetime.dat.
2021-05-13 19:57:06 610
原创 python实战案例之日期加减(日加减)
import datetime with open(r'account.txt', 'r', encoding='utf-8') as file: lines = file.readlines() time1 = lines[0].strip('\n') value1=lines[1].strip('\n') print(time1) sdate = datetime.datetime.strptime(str(time1),'%Y-%m-%d') de.
2021-05-13 19:18:09 86
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人