homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Agrim Sachdeva2
Recipients Agrim Sachdeva2, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019年06月11日.22:47:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560293231.78.0.659598330159.issue37240@roundup.psfhosted.org>
In-reply-to
Content
If a script that uses urllib is named http.py, the following error occurs:
Traceback (most recent call last):
 File ".\http.py", line 1, in <module>
 import urllib.request, urllib.parse, urllib.error
 File "C:\Users\grim\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 88, in <module>
 import http.client
 File "C:\Python\http.py", line 11, in <module>
 html = urllib.request.urlopen(url).read()
AttributeError: module 'urllib' has no attribute 'request'
History
Date User Action Args
2019年06月11日 22:47:11Agrim Sachdeva2setrecipients: + Agrim Sachdeva2, paul.moore, tim.golden, zach.ware, steve.dower
2019年06月11日 22:47:11Agrim Sachdeva2setmessageid: <1560293231.78.0.659598330159.issue37240@roundup.psfhosted.org>
2019年06月11日 22:47:11Agrim Sachdeva2linkissue37240 messages
2019年06月11日 22:47:11Agrim Sachdeva2create

AltStyle によって変換されたページ (->オリジナル) /