open urls in browser

srikanth srikanth007m at gmail.com
Mon Jul 18 09:36:12 EDT 2011


On Jul 18, 6:21 pm, Chris Angelico <ros... at gmail.com> wrote:
> On Mon, Jul 18, 2011 at 10:05 PM, srikanth <srikanth0... at 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.htmlhttp://docs.python.org/release/3.1.3/library/urllib.request.html
>
> ChrisA

Sorry i don't need that one. by mistake i have written it.



More information about the Python-list mailing list