Message144195
| Author |
eric.araujo |
| Recipients |
Valery.Khamenya, docs@python, eric.araujo, ezio.melotti, orsenthil, terry.reedy |
| Date |
2011年09月17日.15:31:04 |
| SpamBayes Score |
0.08711446 |
| Marked as misclassified |
No |
| Message-id |
<1316273464.83.0.578857951709.issue12955@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
[Terry]
> But when I add 'http:www.python.org' as an argument, I get
> urllib.error.URLError: <urlopen error no host given>
Your URI lacks a host (netloc, in RFC parlance) component:
>>> urllib.parse.urlparse('http:python.org')
ParseResult(scheme='http', netloc='', path='python.org', params='', query='', fragment='') |
|