摘要: ![](https://img2020.cnblogs.com/blog/1632719/202005/1632719-20200512222016983-1384045881.png) ![](https://img2020.cnblogs.com/blog/1632719/202005/1632719-20200512224334215-363136046.png) ![](https://i 阅读全文
posted @ 2020-05-12 22:44 西半球 阅读(125) 评论(0) 推荐(0) 编辑
摘要: ```python # configparse # import configparser # config = configparser.ConfigParser() # config["DEFAULT"] = {'ServerAliveInterval': '45', # 'Compression': 'yes', # 'CompressionLevel': '9', # 'ForwardX1 阅读全文
posted @ 2020-05-12 21:17 西半球 阅读(112) 评论(0) 推荐(0) 编辑
摘要: python 2.X的错误 上面的代码会出现 如图的错误 原因是 :python 3.x 把__cmp__ 给去掉了。虽然你写了这个方法,实际上,这个代码没有生效,没有实现这个类的比较。 文章参考:https://www.zhihu.com/question/47895103 python3.7 的 阅读全文
posted @ 2020-05-12 17:41 西半球 阅读(186) 评论(0) 推荐(0) 编辑