<reponame>r-luis/Py4e-Projects<filename>urllib1.py
from urllib.request import urlopen

fhand = urlopen('http://data.pr4e.org/romeo.txt')

for linha in fhand:
    print(linha.decode().strip())

from urllib.request import urlopen

fhand = urlopen('http://data.pr4e.org/romeo.txt')

for linha in fhand:
    print(linha.decode().strip())