Tech issues journal
Wednesday, June 1, 2016
Matlab's keyboard command, but for IPython
Add the following to the preamble.
from
IPython.core.debugger
import
Tracer
;
debug_here
=
Tracer
()
Then in code, you can call "debug_here()" where you'd use "keyboard" in Matlab.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment