How about embedding ipython in your script with: from IPython.Shell import IPShellEmbed
ipshell = IPShellEmbed() ** your set up code ** ipshell() # this call anywhere in your program will start IPython see: http://ipython.scipy.org/doc/manual/node9.html#sec:embed Here are some ipython tips: http://ipython.scipy.org/doc/manual/node4.html Another option is to set up Wing so that it attaches to a process that is started externally (http://wingware.com/doc/debug/importing-the- debugger) So... in one window you can run your code that sets up everything and then displays the ipython CLI - and in the other window you have WingIDE where you can set your breakpoints and use the GUI. Is this what you're looking for? -- http://mail.python.org/mailman/listinfo/python-list