hi, I am just learning Python and get a problem when trying this example:
from urllib import urlopen
doc=urlopen("http://www.python.org").read()
print(doc)
when i run this, i was tould that 'cannot import name "urlopen"
What's wrong with this code? Do i need to place my code in some
specific directory? Thanks a lot. '
--
http://mail.python.org/mailman/listinfo/python-list
