Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: how can i register the non-default browser with the webbrowsermodule?

Reply
Thread Tools

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

 
 
Mark Lawrence
Guest
Posts: n/a
 
      09-05-2012
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Re: how can i register the non-default browser with the webbrowsermodule? Peter Otten Python 0 09-05-2012 04:09 PM
Where can I get the values for Page.Request.Browser.Browser? Nathan Sokalski ASP .Net 4 07-08-2008 01:59 AM
Can a 7960 sip phone register to ccm v3? R Siffredi Cisco 1 04-08-2005 08:41 PM
CSA Agent can't register with MC Bill F Cisco 7 07-10-2004 08:34 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57