Search This Blog

Friday, May 7, 2010

Python3 error: "Import error: No module name urllib"

Programmer Question


Here's my code:



from urllib.request import urlopen

response = urllib.urlopen("http://www.google.com")
html = response.read()
print(html)


Any help?





Find the answer here

No comments:

Post a Comment

Related Posts with Thumbnails