Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 PyCharm 2016.3 中导入 http.client 模块(我使用的是 Python 3.6)。但是,“项目解释器”类别的“添加”部分中没有模块名称“http.client”。如何导入模块?
请帮忙。
它是 Python 中的内置模块;您可以直接导入它:
>>> import http.client >>> http.client <module 'http.client' from '/usr/lib/python3.5/http/client.py'>