Brett Cannon added the comment:

You need to use the line `import urllib.request` to make the import work as you 
didn't import the urllib.request module, only the urllib package.

----------
nosy: +brett.cannon
resolution:  -> not a bug
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25980>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to