AttributeError: module 'urllib' has no attribute 'parse',


  事情是這樣的,

>>> import urllib
>>> urllib.parse
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'urllib' has no attribute 'parse'

但是 import urllib.parse就沒有問題了

同樣的還有logging.config,實在是不知道為什么,難道實際上並不是在同一個包中的么

有空再看吧


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM