python 3.2.2 import urllib.request
1. windows Shell 悲剧 -=- 很多人shell可以
Python 3.2.2 (default, Sep 4 2011, 09:51:08) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
Traceback (most recent call last):
File "E:\tools\python\src\lib\urllib.py", line 1, in <module>
import urllib.request
File "E:\tools\python\src\lib\urllib.py", line 1, in <module>
import urllib.request
ImportError: No module named request
>>> import urllib.request
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import urllib.request
File "E:\tools\python\src\lib\urllib.py", line 1, in <module>
import urllib.request
ImportError: No module named request
2. comand直接python 居然可以
[解决办法]
>>> help()>>> modules