摘要:
时间的检测 asctime() 功能:返回一个正常可读的时间字符串(不太符合中国人时间观点) 格式:time.asctime(时间元组) 返回值:时间字符串 localtime() 功能:获取当前时间组 格式:time.localtime() 返回值:本地时间元组 gmtime() 功能:获取当前U 阅读全文
摘要:
calendar() 功能:获取指定年份的日历字符串 格式:calendar.calendar(年份,w=2,l=1,c=6,m=3) 返回值:字符串 w:2个日期间隔字符长度 l:一个周占用几个行高度 c:表示两个月之间的间隔 m:表示一行显示几个月 month() 功能:获取指定年份的日历字符串 阅读全文