urllib.request library
from urllib import request
response = request.urlopen('https://httpbin.org/get')
content = response.read().decode('utf-8')
print(content)
from urllib import request
response = request.urlopen('https://httpbin.org/get')
content = response.read().decode('utf-8')
print(content)
Leave a Comment
Cancel reply