Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #34575
| References | <CAOuJsM=ch3T=L3+7rQ=sg5t_LmA5v_nXJLYYTw7ySD30Vmx+qA@mail.gmail.com> |
|---|---|
| Date | 2012-12-10 17:39 -0500 |
| Subject | Re: open URL in the current tab |
| From | Joel Goldstick <joel.goldstick@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.688.1355179162.29569.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
On Mon, Dec 10, 2012 at 5:27 PM, Jabba Laci <jabba.laci@gmail.com> 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: webbrowser.open_new(*url*) Open *url* in a new window of the default browser, if possible, otherwise, open *url* in the only browser window. webbrowser.open_new_tab(*url*) Open *url* in a new page (“tab”) of the default browser, if possible, otherwise equivalent to open_new()<http://docs.python.org/2/library/webbrowser.html#webbrowser.open_new> . > Thanks, > > Laszlo > -- > http://mail.python.org/mailman/listinfo/python-list > -- Joel Goldstick
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: open URL in the current tab Joel Goldstick <joel.goldstick@gmail.com> - 2012-12-10 17:39 -0500
csiph-web