mini browser with python

David Hutto dwightdhutto at
Wed Dec 5 21:36:04 CET 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('')
>>> for line in url_to_read:
...     print line

Best Regards,
David Hutto

More information about the Python-list mailing list