事情是这样的,

>>> 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,实在是不知道为什么,难道实际上并不是在同一个包中的么

有空再看吧

相关文章:

  • 2021-09-09
  • 2021-10-09
  • 2021-12-13
  • 2021-06-06
  • 2021-07-27
  • 2021-05-07
  • 2022-01-23
  • 2021-08-17
猜你喜欢
  • 2022-12-23
  • 2021-09-15
  • 2021-12-19
  • 2021-11-02
  • 2021-11-28
  • 2021-08-27
  • 2021-10-09
相关资源
相似解决方案