发布时间:2019-09-08 09:10:08编辑:auto阅读(1663)
按月生成全部表(table_20150101,table_20150201,table_20150301,table_20150401...)
python + arrow
pip install arrow
import arrow
start = arrow.get('2015-01-01','YYYY-MM-DD')
end = arrow.get('2015-12-31','YYYY-MM-DD')
for dt in arrow.Arrow.range('month', start, end):
print(dt.format('YYYYMMDD'))
上一篇: python之深浅拷贝
下一篇: 把python源码转变成rpm包
47854
46416
37304
34750
29325
25984
24931
19960
19555
18043
5802°
6426°
5942°
5971°
7075°
5922°
5956°
6450°
6414°
7793°