I've noticed that if you exit() a program you always get a traceback message:
Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    exit('what now?')
  File "C:\Python33\lib\site.py", line 380, in __call__
    raise SystemExit(code)

What if you just want to exit for some normal reason and don't want
the message? Or is a program always supposed to end in some normal way
without an exit. Or is there a different, more graceful way to end a
program when you want?

--
Jim Mooney

“For anything that matters, the timing is never quite right, the resources
are always a little short, and the people who affect the outcome are always
ambivalent.”
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to