From 8832cee4c23444d2c73c64c8dae5728b98113dbb Mon Sep 17 00:00:00 2001 From: Yike Lu Date: Tue, 6 Jan 2015 13:24:16 -0600 Subject: [PATCH] Add iem python snippet for embedded ipython --- snippets/python.snippets | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snippets/python.snippets b/snippets/python.snippets index a93b654..860b572 100644 --- a/snippets/python.snippets +++ b/snippets/python.snippets @@ -129,6 +129,9 @@ snippet pdb # ipython debugger (ipdb) snippet ipdb import ipdb; ipdb.set_trace() +# embed ipython itself +snippet iem + import IPython; IPython.embed() # ipython debugger (pdbbb) snippet pdbbb import pdbpp; pdbpp.set_trace()