点击运行
#!/usr/bin/python #-*- coding: UTF-8 -*- import calendar cal = calendar.month(2015, 1) print "Here is the calendar:" print cal
运行结果 :
正在执行...