I use the keyboard command all of the time in Matlab to get a live shell during an exception, etc.. so this is how you do it in python
import code code.interact(local=locals())
Post a Comment
Web analytics
No comments:
Post a Comment