热门标签
更多>
搜索结果
查询Tags标签: holidays,共有 2条记录-
python获取某一年的所有节假日
import datetime import chinese_calendardef get_holidays(year=None, include_weekends=True):"""获取某一年的所有节假日,默认当年:param year: which year:param include_weekends: False for excluding Saturdays and Sundays:return: list"&qu…
2021/8/19 22:05:43 人评论 次浏览 -
python获取某一年的所有节假日
import datetime import chinese_calendardef get_holidays(year=None, include_weekends=True):"""获取某一年的所有节假日,默认当年:param year: which year:param include_weekends: False for excluding Saturdays and Sundays:return: list"&qu…
2021/8/19 22:05:43 人评论 次浏览