That’s the code:
import urllib.request
page = urllib.request.urlopen("http://www.beanz-r-us.biz/prices.html")
text = page.read().decode("utf8")
print(text)
So, when I run it it gives me an error of “could not get address info”. Where might the problem be?
New contributor
Dan Wamatu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2