The urllib2 module has been split across several modules in Python 3
named urllib.request and urllib.error. The 2to3 tool will
automatically adapt imports when converting your sources to Python 3.
The urllib2 module has been split across several modules in Python 3.0
named urllib.request and urllib.error. The 2to3 tool will automatically
adapt imports when converting your sources to 3
Python 3中的
urllib2
被拆分为several modules:^{} 是用于发出HTTP请求的内容。在
或者,开源的Requests库为在python2和python3中发出HTTP请求提供了一个更简单、更干净的API。在
您应该尝试一下Requests;它适用于python2.6-3.3。好吧。在
相关问题 更多 >
编程相关推荐