import urllib.request, ImportError: No module named request -


i trying import urllib.request python 2.7.10 on pycharm 4.5.4 on window 10 getting error "importerror: no module named request".

the urllib.request modules have been deprecated .. use

import urllib 

and function if earlier writing say

urllib.request.urlretrieve 

now write

urllib.urlretrieve 

Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -