urllib在python3中不用單獨安裝直接引用就能夠了python
import urlliburl
import urllib.request #python3的urllib不會自動導入其under層的包,須要手動導入 不引用報 module 'urllib' has no attribute 'request' module 'urllib' has no attribute 'error'import