Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9802

Re: open urls in browser

References <39758958-fc2f-4114-a420-d41ce978e277@r28g2000prb.googlegroups.com>
Date 2011-07-18 23:21 +1000
Subject Re: open urls in browser
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1217.1310995298.1164.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, Jul 18, 2011 at 10:05 PM, srikanth <srikanth007m@gmail.com> wrote:
> Ex: http://www.google.com - Pass/Fail.

What do you mean by "Pass" or "Fail"? If you send a URL to a web
browser, all you'll find out is whether or not the browser accepted it
- it won't tell you if the page is valid. If you want that, you don't
need a web browser at all - what you want is a simple URL fetcher,
such as urllib/urllib2.

http://docs.python.org/library/urllib.html
http://docs.python.org/release/3.1.3/library/urllib.request.html

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

open urls in browser srikanth <srikanth007m@gmail.com> - 2011-07-18 05:05 -0700
  Re: open urls in browser Chris Angelico <rosuav@gmail.com> - 2011-07-18 23:21 +1000
    Re: open urls in browser srikanth <srikanth007m@gmail.com> - 2011-07-18 06:36 -0700

csiph-web