摘要: python picklefrom __future__ import absolute_import from __future__ import division from __future__ import print_function ... 阅读全文
posted @ 2018-10-15 21:59 vercont 阅读(659) 评论(0) 推荐(0) 编辑
摘要: python picklefrom __future__ import absolute_import from __future__ import division from __future__ import print_function ... 阅读全文
posted @ 2018-10-15 21:59 vercont 阅读(1888) 评论(0) 推荐(0) 编辑
摘要: Python2中没有这个问题python3中hashlib.md5(data)函数中data 参数的类型应该是byteshash前必须把数据转换成bytes类型Python 2.7.12 (default, Dec 4 2017, 14:50:18) [G... 阅读全文
posted @ 2018-10-15 20:36 vercont 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Python2中没有这个问题python3中hashlib.md5(data)函数中data 参数的类型应该是byteshash前必须把数据转换成bytes类型Python 2.7.12 (default, Dec 4 2017, 14:50:18) [G... 阅读全文
posted @ 2018-10-15 20:36 vercont 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 题目描述题目描述有一个邮递员要送东西,邮局在节点1.他总共要送N-1样东西,其目的地分别是2~N。由于这个城市的交通比较繁忙,因此所有的道路都是单行的,共有M条道路,通过每条道路需要一定的时间。这个邮递员每次只能带一样东西。求送完这N-1样东西并且最终回到邮... 阅读全文
posted @ 2018-10-15 19:48 vercont 阅读(175) 评论(0) 推荐(0) 编辑
摘要: PythonError when calling the metaclass bases Cannot create a consistent method resolution order (MRO) for bases这个异常 看下代码应该是多重继承中类... 阅读全文
posted @ 2018-10-15 17:54 vercont 阅读(161) 评论(0) 推荐(0) 编辑
摘要: PythonError when calling the metaclass bases Cannot create a consistent method resolution order (MRO) for bases这个异常 看下代码应该是多重继承中类... 阅读全文
posted @ 2018-10-15 17:54 vercont 阅读(238) 评论(0) 推荐(0) 编辑