Resumable IPython inside Blender Terminal

Would it not be nice if IPython could run inside the Blender terminal in such way that it will remember the namespace history in between sessions? Why IPython? It gives you auto completion, deep reloads, object introspection, input history, access to your operating system commands with python variables, auto indent, …

See my blog for more info and the script:

I am also working on running ipython inside a blender text window. (Currently there is an issue with Windows which needs to be ironed out.) I hope to report more about this in the future.

IPython 0.11 run now in python3 and I was trying to make it work in blender2.5 under linux. Since your script is not made for blender 2.5 I tried an other way.

I added Ipython in …/Blender2.5/2.59/python/lib/python3.2/site-packages

And try those line of code : import sys
import IPython

from IPython.frontend.terminal.ipapp import launch_new_instance
but I get en error :
File “/home/bin/Blender2.5/2.59/python/lib/python3.2/site-packages/IPython/config/”, line 404, in _decode_argv
enc = sys.stdin.encoding or sys.getdefaultencoding()
AttributeError: ‘NoneType’ object has no attribute ‘encoding’

I don’t quite understand the problem if you have an Idea it is welcome