Python urllib.request.urlopen() Function
The urllib.request.urlopen() function opens a URL and returns a response object.
Syntax
urllib.request.urlopen(url, data=None, timeout=None)
Return Value
A response object.
Example
Output
Click Run to execute your code