Re: mini browser with python

Discussion in 'Python' started by David Hutto, Dec 5, 2012.

  1. David Hutto

    David Hutto Guest

    I think this is the snippe that you want:

    david@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
    David Hutto, Dec 5, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Miki Tebeka

    Re: mini browser with python

    Miki Tebeka, Dec 5, 2012, in forum: Python
    Replies:
    0
    Views:
    143
    Miki Tebeka
    Dec 5, 2012
  2. Hans Mulder

    Re: mini browser with python

    Hans Mulder, Dec 5, 2012, in forum: Python
    Replies:
    1
    Views:
    164
    Grant Edwards
    Dec 5, 2012
  3. Dave Angel

    Re: mini browser with python

    Dave Angel, Dec 5, 2012, in forum: Python
    Replies:
    0
    Views:
    166
    Dave Angel
    Dec 5, 2012
  4. John Gordon

    Re: mini browser with python

    John Gordon, Dec 5, 2012, in forum: Python
    Replies:
    0
    Views:
    151
    John Gordon
    Dec 5, 2012
  5. Hans Mulder

    Re: mini browser with python

    Hans Mulder, Dec 6, 2012, in forum: Python
    Replies:
    2
    Views:
    204
    Terry Reedy
    Dec 6, 2012
Loading...

Share This Page