在python中from urllib.error import URLError, HTTPError 出错
大家讲道理
大家讲道理 2017-04-18 09:36:05
0
1
298
大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

répondre à tous(1)
刘奇

Il devrait s'agir d'un problème de version, py2.7 signale une erreur, mais pas py3.5.

python2.7:
>>> import urllib
>>> 'error' in dir(urllib)
False

python3.5:
>>> import urllib
>>> 'error' in dir(urllib)
True
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal