我有以下代码从一个url列表下载HTML内容。每当我运行它时,我都会收到一个错误消息:“Traceback(最近的一次调用是最后一次):
File "*******", line 16, in <module>
**hashMessage = computeMD5(url)**
File "*******", line 13, in computeMD5
**m.update(message)**
*AttributeError: 'builtin_function_or_method' object has no attribute 'update'*
代码如下:
^{pr2}$我该怎么解决这个问题?在
您试图对函数而不是对象调用方法。请致电:
相关问题 更多 >
编程相关推荐