A keyboard shortcut key
-Ctrl-p or UP ARROW key to search command history with the currently entered text beginning with the command-ctrl-n or DOWN ARROW key forward to search command history with the currently entered text beginning with the command-ctrl-r read by row reverse history search (partial match)-ctrl-shift-v Paste text from clipboard-Ctrl-c abort the code that is currently executing-ctrl-a moves the cursor to the beginning of the line-CTRL-E moves the cursor to the end of the row-ctrl-k deletes the text from the cursor to the end of the line-ctrl-u clears all text from the current line 12-c TRL-F moves the cursor forward one character-ctrl-b moves the cursor backwards by one character-ctrl-l clear screen
Two Magic commands
%quickref Display Ipython Quick reference%magic Show detailed documentation of all Magic commands%debug Enter the interactive debugger%hist print commands from the bottom of the latest exception trace history%pdb automatically enters the debugger after an exception occurs%paste Execute Python code in Clipboard%cpaste open a special prompt to manually paste the python code you want to execute%reset delete all variables/names in the interactive namespace%page OBJECT is printed out via the pager object% Run script.py executes a python script file in Ipython%prun statement cprofile through statement and prints the output of the parser%time statement The execution time of the report statement%timeit statement multiple executions statement to calculate the average time to perform the ensemble. Useful for code that executes very little time%who,%who_ls,%whos displays variables defined in the interactive namespace, variable information level/redundancy%xdel variable Delete variable, And tries to clear all references to its objects in Ipython
IPython: An interactive computing and development environment