Exiting program

Randall Hopper aa8vb at yahoo.com
Fri Jan 21 10:22:44 EST 2000


Randall Hopper:
 |volumeregeling:
 | |    sys.exit()                        <-- for some reason this also
 |
 |Keep in mind that this doesn't terminate your program.  It merely raises
 |a SystemExit exception.  ... it can be caught and ignored, which is most
 |likely what is going on:

Should have mentioned this, but in case you have more important fish to fry
right now, just call:

     os._exit(0)

to force an unfriendly, immediate exit (bypassing the exception propagation
mechanism).

-- 
Randall Hopper
aa8vb at yahoo.com




More information about the Python-list mailing list