Opening a webpage in the background via webbrowser.open()

Tim Chase python.list at tim.thechases.com
Sat Oct 9 01:28:27 CEST 2010


On 10/08/10 15:11, Vlastimil Brom wrote:
> webbrowser.open(url[, new=0[, autoraise=True]])
> however, the sidenote in the docs also seems to apply:
> "If autoraise is True, the window is raised if possible (note that
> under many window managers this will occur regardless of the setting
> of this variable)."
> http://docs.python.org/library/webbrowser.html#webbrowser.open
>
> For me (win XP, python 2.5.4) the browser window is always raised
> after this call, regardless the autoraise option.


And with my configuration (Linux, fluxbox) of the browser 
full-screen on one virtual desktop and usually working in other 
desktops, this almost *never* happens to me, regardless of the 
auto-raise option :)

-tkc





More information about the Python-list mailing list