newbie webbrowser module question

Thomas Guettler zopestoller at thomas-guettler.de
Tue Feb 4 09:35:26 EST 2003


Tim Freeman schrieb:
> Hi,
> 
> I'm having trouble with the command 
> webbrowser.open(self.url, new=1, autoraise=0), where url is defined 
> as a local html file.
> 
> When this is executed, I get 2 mozilla's comming up, the correct 
> url and my 'home' page.
> If there is a mozilla window open already, it works OK.
> 
> When I set new=0, I get 1 mozilla window with my 'home' page.

Just a guess:
What does url look like? Does it start with file:///?

  thomas





More information about the Python-list mailing list