Add "ipy" snippet to embed IPython shell into the code

This commit is contained in:
yvhn 2015-11-21 15:18:02 +02:00
parent 8403b840bd
commit 45ef7b6425

View File

@ -630,6 +630,10 @@ snippet pdb "Set PDB breakpoint" b
import pdb; pdb.set_trace() import pdb; pdb.set_trace()
endsnippet endsnippet
snippet ipy "Embed IPython shell" b
import IPython; IPython.embed()
endsnippet
snippet ipdb "Set IPDB breakpoint" b snippet ipdb "Set IPDB breakpoint" b
import ipdb; ipdb.set_trace() import ipdb; ipdb.set_trace()
endsnippet endsnippet