I am trying to import urllib.request for python 2.7.10 on PyCharm 4.5.4 on Window 10 but getting the error "ImportError: No module named request".
The urllib.request modules have been deprecated .. just use
import urllib
And for your function if you were earlier writing say
urllib.request.urlretrieve
Now you just write
urllib.urlretrieve
1.4m articles
1.4m replys
5 comments
57.0k users