webbrowser.open_new alternatives for Windows
Robert
k.robert at gmx.de
Mon Mar 22 08:05:21 EST 2004
how can i open a _NEW_ browser window on Windows ?
(It should be browser independent. at least for IE, Mozilla &
Netscape)
i found a snippet/suggestion for "IE only" in this group but it
doesn't work, open also in old window:
from win32com.client import Dispatch
def start(url):
w=Dispatch("InternetExplorer.Application")
w.Navigate2(url)
w.visible=1
start("http://www.python.org")
start("http://www.zope.com")
Robert
More information about the Python-list
mailing list