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


Groups > comp.lang.python > #28521 > unrolled thread

Re: how can i register the non-default browser with the webbrowser module?

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2012-09-05 17:33 +0100
Last post2012-09-05 17:33 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: how can i register the non-default browser with the webbrowser module? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-05 17:33 +0100

#28521 — Re: how can i register the non-default browser with the webbrowser module?

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2012-09-05 17:33 +0100
SubjectRe: how can i register the non-default browser with the webbrowser module?
Message-ID<mailman.254.1346862779.27098.python-list@python.org>
On 05/09/2012 15:32, Levi Nie wrote:
> how can i register the non-default browser with the webbrowser module?
>
> the case:
> i want open a site such as "google.com" in ie8 with the python.But my
> default is chrome.
> so i want to register a ie8 controller with the webbrowser.register(*name*,
> *constructor*[, *instance*]).
> so what does the parameter "constructor" "instance" mean?
> how can i do it?
>
>
>

Have you read the documentation at all?  It clearly states "This entry 
point is only useful if you plan to either set the BROWSER variable or 
call get() with a nonempty argument matching the name of a handler you 
declare."  Is this what you plan to do in your code?

-- 
Cheers.

Mark Lawrence.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web