ImportError: cannot import name urlsplit
peicheng@PCsNB ~/project/python/test $ python urlparse.py
Traceback (most recent call last):
File "urlparse.py", line 1, in
from urlparse import urlsplit
File "/home/peicheng/project/python/test/urlparse.py", line 1, in
from urlparse import urlsplit
ImportError: cannot import name urlsplit
名字不要取跟lib一樣
沒有留言:
張貼留言