Am 09.09.2011 10:21, schrieb Chris Rebert: > 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 Or reload(sys); sys.exit() Georg