PythonStudy——calendar 模块

'''
判断闰年:calendar.isleap(year)
查看某年某月日历:calendar.month(year, mouth)
查看某年某月起始星期与当月天数:calendar.monthrange(year, mouth)
查看某年某月某日是星期几:calendar.weekday(year, month, day)
'''

 

posted @ 2019-05-08 20:31  挺锅锅  阅读(107)  评论(0编辑  收藏  举报