ipython/ipython — pull request #1406 by ivanov (2012-02-14 03:23:00+00:00)
Title: Browser selection

Someone in the Astronomy 250: Python for Scientific Computing class asked how one can specify which browser is used for the notebook interface. I found that this was undocumented, and added a description of how one can do it using environment variable BROWSER, since that's what python standard libarary's `webbrowser` module looks at to override the default. This is the first commit in the PR

In talking with @stefanv about it, we decided it's be more pythonic to be able to specifically specify `--browser=foo`, since the environment solution makes a change for any other code that uses the `webbrowser` standard library module and feels awkward if you want to change it to have to change it at the beginning of every command. That's the second commit, but it does not preclude the first (i.e. `$BROWSER` is still respected when `--browser` is not used)