Help me. How to open a new IE window?
Vladimir Ivanov
mahasamatman at nm.ru
Sat May 8 10:35:48 EDT 2004
angel wrote:
> Hi
>
> I want python(win32com) to open a new IE window.
> Source is:
> /******/
> import win32com.client
> msie = win32com.client.Dispatch("InternetExplorer.Application")
> msie.Visible = 1
> msie.Naviagte(http://www.python.org)
> /******/
> The problem is the program always grabs a existed IExplorer window or
> Explorer window. It never opens a new window.
>
> Please help me. Thanx
> Victor
>
>
>
>
>
>
import webbrowser
webbrowser.open_new("www.python.org")
it will work fine with IE (if IE is the default browser)
More information about the Python-list
mailing list