2017年2月2日

python format

摘要: http://blog.xiayf.cn/2013/01/26/python-string-format/ https://zerokspot.com/weblog/2015/12/31/new-string-formatting-in-python/ 阅读全文

posted @ 2017-02-02 17:12 norsd 阅读(199) 评论(0) 推荐(0)

python 关于时区

摘要: pytz提供了时区对象timezone 如果我们如此使用: 我们得到的时间不是 GMT+8, 而是8小时又6分钟 我们需要的是CST时间, 所以可以用如下代码: 这样得到就是准确的 GMT+8 http://www.keakon.net/2010/12/14/%E7%94%A8datetime%E5 阅读全文

posted @ 2017-02-02 15:35 norsd 阅读(1652) 评论(0) 推荐(0)

导航