[IPython-User] Updating required files for notebook - to get the --browser cmd line option

Tony Cappellini cappy2112@gmail....
Fri Mar 16 22:17:54 CDT 2012


>>BROWSER=/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
> ipython notebook
>

That works just fine. Chrome actually was launched with the notebook.

Thanks!

My friend who wanted this capability will be happy now.



> the '\' is to escape the space, on osx the executable is usually located
> in "/Application/name.app/Contents/MacOS/executable"
>
> --Massimo.
>
>
> Il giorno Mar 15, 2012, alle ore 1:01 PM, Thomas Kluyver ha scritto:
>
> > On 15 March 2012 16:51, Tony Cappellini <cappy2112@gmail.com> wrote:
> >> I can do that- But I'm curious as to how everyone else does this,
> without
> >> all the trouble that I'm seeing.
> >
> > The webbrowser module knows various tricks to launch browsers on
> > different systems. I think it's just having trouble handling your
> > particular case (launch a non-default browser that doesn't have an
> > executable name to run).
> >
> > Thomas
> > _______________________________________________
> > IPython-User mailing list
> > IPython-User@scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20120316/dd1f0d4b/attachment.html 


More information about the IPython-User mailing list