Hey I found your blog while searching for the same problem.Even I was stuck on chapter 2 due to this problem.I couldn't install python3 as its not packaged yet for Fedora 12.Anyways another workaround would be to write the code according to python 2.x :- import urllib page = urllib.urlopen("http://beans-r-us.biz/prices.html") text = page.read().decode("utf8") print(text)
As far as the book is concerned I'm loving it.Waiting for your review -Abhishek
Comments 1
import urllib
page = urllib.urlopen("http://beans-r-us.biz/prices.html")
text = page.read().decode("utf8")
print(text)
As far as the book is concerned I'm loving it.Waiting for your review
-Abhishek
Reply
Leave a comment