may someone please help me what is wrong with my python code below. while running the below code i am getting error as "
Error:
Module object has no attribute 'urlopen'
Code:
import urllib
u=urllib.urlopen('http://bata.in/bataindia/c-5553_cl-2/men/boots.html')
data = u.read()
f=open('rt22.xml','wb')
f.write(data)
f.close()
Python 3.4 and used VS2014
Thanks a lot