- Python标准库--calendar
- Python好的文章--Python数据结构及算法
- Python代码片段
- Python读书--Django企业开发实战day3
- Python项目相关--python 解析器中文翻译
- Python之外--梁少峰的个人博客
python标准库 calendar
- The prmonth() method is a simple function that produces the formatted text output for a month.
import calendar
c = calendar.TextCalendar(calendar.SUNDAY)
c.prmonth(2017, 7)
- local
import calendar
c = calendar.LocaleTextCalendar(locale='en_US')
c.prmonth(2017, 7)
print()
c = calendar.LocaleTextCalendar(locale='fr_FR')
c.prmonth(2017, 7)
fabric基本使用