Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #34575 > unrolled thread
| Started by | Joel Goldstick <joel.goldstick@gmail.com> |
|---|---|
| First post | 2012-12-10 17:39 -0500 |
| Last post | 2012-12-10 17:39 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: open URL in the current tab Joel Goldstick <joel.goldstick@gmail.com> - 2012-12-10 17:39 -0500
| From | Joel Goldstick <joel.goldstick@gmail.com> |
|---|---|
| Date | 2012-12-10 17:39 -0500 |
| Subject | Re: open URL in the current tab |
| Message-ID | <mailman.688.1355179162.29569.python-list@python.org> |
[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 top | Article view | comp.lang.python
csiph-web