Updated: 2011-02-16 Created: 2011-02-16
sometimes I need to start ipython from a normal python prompt, eg. bin/debug in a bfg environment
from IPython import ipapi ipapi.launch_new_instance(locals())