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

Levi Nie levinie001 at gmail.com
Wed Sep 5 10:32:02 EDT 2012


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120905/08b56684/attachment.html>


More information about the Python-list mailing list