sys.exit and exceptions (newbie question)

Fredrik Lundh fredrik at
Thu Feb 1 20:54:07 CET 2001

Victor Muslin wrote:
> What is a pythonic idiom for forcing an immediate program termination?

not sure there is one, but if you insist, you
can use:

    # terminate without cleaning up


    # force coredump

Cheers /F

<!-- (the eff-bot guide to) the standard python library:

More information about the Python-list mailing list