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 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: References: 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 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