python3.7導入urllib2報錯以及出現can't concat str to bytes解決的辦法

在python3中,沒有了urllib2包,而是轉爲了urllib.requestpython 能夠這麼理解:urllib2 == urllib.requestjson 在python3中,能夠說優化了原來的python2中得urllib2包,代碼以下服務器 import urllib.request優化 with urllib.request.urlopen('http://www.python
相關文章
相關標籤/搜索