① 急求大神教如何在python里編寫日歷
最簡單的就是直接調用系統命令cal,比如:
importos
year=2014
os.system("cal-y%s"%year)
2014
JanuaryFebruaryMarch
123411
567891011234567823456783031
AprilMayJune
JulyAugustSeptember
1234512123456
OctoberNovemberDecember
12341123456
56789101123456787891011121330
如果解決了您的問題請採納!
如果未解決請繼續追問