美文网首页
Python Day33&34

Python Day33&34

作者: TianAff | 来源:发表于2017-07-07 10:06 被阅读0次

日期&日历

python大大的图

Python Day33&34

line13到line17:用数字定义时间,通常0代表周一,1代表周二......以此类推,6代表周日。上图中将周三定为一周的开始,所以日历输出时是从Wed开始的。

(一)输出日期时间以及本月日历

Python Day33&34

(二)输出本年日历

calendar.pracal(2017)

Python Day33&34 Python Day33&34

Timezone全部时区输出

python大大的图

Python Day33&34

timezone

Python Day33&34 Python Day33&34

相关文章

网友评论

      本文标题:Python Day33&34

      本文链接:https://www.haomeiwen.com/subject/dyllhxtx.html