I have this code:
import urllib.request
x = urllib.request.urlopen('https://www.google.com')
print (x.read())
And the error that happens:
Traceback (most recent call last): File "python", line 3, in urllib.error.URLError:
It seems that urllib.request no longer has the function urlopen
...
Can anyone help?