#16017: capitalize URLs.
This commit is contained in:
parent
4f24af065d
commit
c926c59d80
|
@ -148,7 +148,7 @@ Internet Access
|
||||||
|
|
||||||
There are a number of modules for accessing the internet and processing internet
|
There are a number of modules for accessing the internet and processing internet
|
||||||
protocols. Two of the simplest are :mod:`urllib.request` for retrieving data
|
protocols. Two of the simplest are :mod:`urllib.request` for retrieving data
|
||||||
from urls and :mod:`smtplib` for sending mail::
|
from URLs and :mod:`smtplib` for sending mail::
|
||||||
|
|
||||||
>>> from urllib.request import urlopen
|
>>> from urllib.request import urlopen
|
||||||
>>> for line in urlopen('http://tycho.usno.navy.mil/cgi-bin/timer.pl'):
|
>>> for line in urlopen('http://tycho.usno.navy.mil/cgi-bin/timer.pl'):
|
||||||
|
|
Loading…
Reference in New Issue