Ipython usage

From wikinotes

Commandline

ipython --help-all   # show all help
ipython help kernel  # show subcommand help

# load with vi-mode activated
ipython --TerminalInteractiveShell.editing_mode=vi

Interpreter

cd /path/to/files # can cd in ipython
run script.py    # run a script

# change loglevel
logging.root.level = logging.DEBUG

# autoreload before each run
%load_ext autoreload
%autoreload 2