On Mon, Sep 8, 2014 at 2:32 PM, Oliver Zeldin <zeldin@stanford.edu> wrote:
Now.. can we make it take arguments from the command line? This way we can do things like

$libtbx.ipython notebook --matplotib

(or whatever)

For reference, the default ipython launcher does:

import re
import sys

from IPython import start_ipython

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(start_ipython())

Ralf's launcher (libtbx/command_line/ipython_shell_start.py) is from 2007 and I don't know of anyone else using it, so feel free to modify it if you think it could be made more useful.

-Nat