Is it possible to go into ipython from code?
There is an ipdb project which embeds iPython into the standard pdb, so you can just do: import ipdb; ipdb.set_trace() It’s installable via the usual pip install ipdb. ipdb is pretty short, so instead of easy_installing you can also create a file ipdb.py somewhere on your Python path and paste the following into the file: … Read more