hi, i just discovered the nice hint in the ipython script to put the following two i lines into the PYTHONSTARTUP file: import IPython IPython.Shell.IPShell().mainloop(sys_exit=1) it works great! however, i noticed that if i use IPShellQt instead, the ipython shell does not exit the python shell. kilian