Import Module on file
import httplib
题
I get the following error on Python 2.6.x, how should I fix this?
except (httplib.IncompleteRead), e:
NameError: name 'httplib' is not defined
解决方案
Import Module on file
import httplib
其他提示
Import the module at the top of the file.