Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from urllib.request import urlopen
- page = urlopen('https://docs.python.org/3/library/urllib.request.html')
- with open("test.html", "wb") as fh:
- fh.write(page.read())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement