当前位置: 代码迷 >> 综合 >> PY3错误
  详细解决方案

PY3错误

热度:40   发布时间:2023-09-29 13:32:02.0

module 'urllib' has no attribute 'urlopen

这种情况的解决办法就是将urllib改成urllib.request就行了

 

cannot use a string pattern on a bytes-like object

html=html.decode('utf-8')

  相关解决方案