Just in case others are interested, to exit a program use ...
or easier ...
Yes,
quite interesting, actually-- I was just wondering about this; I searched via google for
sys.exit() to gather some more info and found a lot of scattered information that told me either too little or to much. It seems this way with Python docs\tutorials\etc on the Net IMO.
I come to <Daniweb> and search and... here some vital information is. (as usual

)
vegaseat: can you elaborate on why using SystemExit is "easier"
just so I can understand it better. I just used it-- worked just fine.
Thanks a lot,
Matty
Reputation Points: 105
Solved Threads: 1
Posting Maven
Offline 2,582 posts
since Oct 2006