New submission from Kiran Kotari: Python 3.5.1 documentation code giving following error:
Error: Traceback (most recent call last): File ".\urllib1.py", line 5, in <module> with urllib.request.urlopen('http://www.py4inf.com/code/romeo.txt') as f: AttributeError: module 'urllib' has no attribute 'request' Python Code: import urllib with urllib.request.urlopen('http://www.py4inf.com/code/romeo.txt') as f: print(f.read()) ---------- components: Library (Lib) messages: 257230 nosy: Kiran Kotari priority: normal severity: normal status: open title: not able to find module request in lib urllib - Python35-32 type: behavior versions: Python 3.5 _______________________________________ 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