open URL in the current tab

Joel Goldstick joel.goldstick at
Mon Dec 10 23:39:14 CET 2012

On Mon, Dec 10, 2012 at 5:27 PM, Jabba Laci <jabba.laci at> wrote:

> Hi,
> With the webbrowser module you can open a URL in a new tab. But how
> could I tell Firefox from Python to open a URL in the _current_ tab?
The docs say this:

Open *url* in a new window of the default browser, if possible, otherwise,
open *url* in the only browser window.

Open *url* in a new page (“tab”) of the default browser, if possible,
otherwise equivalent to

> Thanks,
> Laszlo
> --

Joel Goldstick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list