快乐的python

格式化dict输出

1
print (json.dumps(content, encoding='utf-8', ensure_ascii=False, indent=1))

Python time & datetime & string 相互转换

https://www.cnblogs.com/alfred0311/p/7885349.html

datetime 日期计算

https://blog.csdn.net/zhengxiangwen/article/details/55157697

time 模块

https://www.cnblogs.com/jackadam/p/7845888.html