mini browser with python
David Hutto
dwightdhutto at gmail.com
Wed Dec 5 15:36:04 EST 2012
I think this is the snippe that you want:
david at david-desktop:~$ python
Python 2.7.3 (default, Aug 1 2012, 05:16:07)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urlliib
>>> url_to_read = urllib.urlopen('http://hitwebdevelopment.com')
>>> for line in url_to_read:
... print line
--
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com
More information about the Python-list
mailing list