Merge pull request #503 from yikelu/master

Add iem python snippet for embedded ipython
This commit is contained in:
Honza Pokorny 2015-01-07 04:08:17 -04:00
commit 621e747bc1

View File

@ -129,6 +129,9 @@ snippet pdb
# ipython debugger (ipdb) # ipython debugger (ipdb)
snippet ipdb snippet ipdb
import ipdb; ipdb.set_trace() import ipdb; ipdb.set_trace()
# embed ipython itself
snippet iem
import IPython; IPython.embed()
# ipython debugger (pdbbb) # ipython debugger (pdbbb)
snippet pdbbb snippet pdbbb
import pdbpp; pdbpp.set_trace() import pdbpp; pdbpp.set_trace()