Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 526 Bytes

ipython_magic_functions.md

File metadata and controls

11 lines (9 loc) · 526 Bytes

##iPython Magic Functions

Function Name Pupose Call
%paste Magic Paste - paste clipboard contents Copy some code, then %paste in iPython
cpaste Code Paste Copy some code, type cpaste, paste it and close with '--'
%timeit Time your function %timeit function_name
%run run your code in iPython %run script_name.py
%debug pinpoint specific problems in your code After %run, call %debug
! Call complex shell commands in iPython !grep 'word' file