- Shows info about variable, docstrings if it is function/class
- Normal git command inside Ipython. Most of the Unix commands can be used this way
debug #just after exceptation
run -d foo.py #invoke debugger before excuting any code
- Run a script. No need to import, just run
- Display all the content of the external file as its output
- Shows how much time a code needs to run
%time a = some_function() #Return the running time on this line
%timeit a = some_function() #Return more details, such number of loops
%%time #Return the running time about all the code below
a = some_funtion()
b = some_another_function()
- Shows the list of variables in your environment
%who_ls #Outputs a list of all interactive variables in your environment
%who_ls function #Reduces the output to interactive variables of type "function"