Page 74 -
P. 74
textual data
Here’s the current Starbuzz code
The previous programmer has already made a head start on
the code, and we can use this as a basis. Here’s the existing
Python code, but what does it do?
Here’s the program code
in its current form.
import urllib.request
page = urllib.request.urlopen("http://www.beans-r-us.biz/prices.html")
text = page.read().decode("utf8")
print(text)
Take a good look at the existing Starbuzz code. What do you think it
actually does?
you are here 4 39