6.1. URLLib Urlopen
Make HTTP request
Get the result
Without using
requests,httpxoraiohttp3-rd party librariesfrom urllib.request import urlopenurlopen(url: str).read().decode()
6.1.1. Example
>>> from urllib.request import urlopen
>>>
>>> resp = urlopen('https://python3.info')
>>>
>>> resp.status
200