I am getting below error when trying to import the urllib2:
>>> import urllib2 Traceback (most recent call last): File \"\", line 1, i
It seems you have a python program named "array.py" in you present working directory. If yes rename that python program or move it to some other directory.