Add "ipy" snippet to embed IPython shell into the code
This commit is contained in:
parent
8403b840bd
commit
45ef7b6425
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user