Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #20877

Re: webbrowser.open always opens up Safari on Lion

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From Leo <sdl.web@gmail.com>
Newsgroups comp.lang.python
Subject Re: webbrowser.open always opens up Safari on Lion
Date Sun, 26 Feb 2012 15:29:19 +0800
Organization A noiseless patient Spider
Lines 17
Message-ID <m1ehtif3xs.fsf@gmail.com> (permalink)
References <m1ipiuf6z4.fsf@gmail.com> <mailman.168.1330240167.3037.python-list@python.org>
Mime-Version 1.0
Content-Type text/plain
Injection-Info mx04.eternal-september.org; posting-host="joxbw0NUenHWmEmLgW8HWw"; logging-data="17449"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197wMI6TZGUM1HrIHHdCcW9"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.4 (Mac OS X 10.6.8)
Face iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+ vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMO DhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QH w/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnY DQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V 7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ7 0hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloe m/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII=
Cancel-Lock sha1:nh0NIjomdCL22ztEK8kJcMZ9nQA= sha1:922L4eluwPZOOtMWQAQVVe+e1oo=
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20877

Show key headers only | View raw


On 2012-02-26 15:04 +0800, Cameron Simpson wrote:
> On the suppostion that "the default browser" is actually multiple
> settings, one for each of several URL (URI?) schemes, what do these two
> shell commands do for you? From a shell prompt in a Terminal:
>
>   open file://localhost/nonexistingfile
> and 
>   open http://www.python.org/
>
> Do they both open Chome for you?

The first one prints: The file /nonexistingfile does not exist.
No browser is opened.

The second one opened Chrome.

Leo

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

webbrowser.open always opens up Safari on Lion Leo <sdl.web@gmail.com> - 2012-02-26 09:33 +0800
  Re: webbrowser.open always opens up Safari on Lion Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-26 03:36 +0000
    Re: webbrowser.open always opens up Safari on Lion Leo <sdl.web@gmail.com> - 2012-02-26 14:23 +0800
      Re: webbrowser.open always opens up Safari on Lion Cameron Simpson <cs@zip.com.au> - 2012-02-26 18:04 +1100
        Re: webbrowser.open always opens up Safari on Lion Leo <sdl.web@gmail.com> - 2012-02-26 15:29 +0800
      Re: webbrowser.open always opens up Safari on Lion Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-26 07:12 +0000

csiph-web