책 내용에 대한 무단배포 방지를 위해 최소한으로 정리
from urllib.request import urlopen
url = 'http://www.python.org'
with urlopen(url) as f:
doc = f.read().decode()
print(doc)
책 내용에 대한 무단배포 방지를 위해 최소한으로 정리
from urllib.request import urlopen
url = 'http://www.python.org'
with urlopen(url) as f:
doc = f.read().decode()
print(doc)
Comments