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.
--
http://mail.python.org/mailman/listinfo/python-list