I use the following snippet to drop into a Python shell mid-program. This works fine, but I only get the standard console. Is there a way to do the same but using the IPython sh
The answer by f3lix is no longer valid it seems, I was able to find this however:
At the top of your python script:
from IPython import embed
Wherever you want to spin up a console:
embed()