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 reimport sysfrom IPython import start_ipythonif __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
_______________________________________________
cctbxbb mailing list
cctbxbb@phenix-online.org
http://phenix-online.org/mailman/listinfo/cctbxbb