[Tutor] exit message
Jim Mooney
cybervigilante at gmail.com
Mon May 6 06:56:58 CEST 2013
> Something like this?
>
>>> import sys
>>>> while 1:
> ... sys.exit('Exiting from Infinite Loop')
> ...
> Exiting from Infinite Loop
I still get a traceback message from the console. I just want a clean
exit without that. I have a feeling I'm thinking about something the
wrong way ;')
Traceback (most recent call last):
File "c:\Python33\Progs\fileActions.py", line 17, in <module>
builtins.SystemExit: you messed up too many times
Jim
More information about the Tutor
mailing list