On Fri, Sep 9, 2011 at 1:18 AM, H Krishnan <hetchkay at gmail.com> wrote: <snip> > If I do: > __builtins__.exit = os._exit = os.kill = sys.exit = lambda *args: False > is there a way to programmatically exit? Yes: raise SystemExit Cheers, Chris