Re: [Tutor] import sys; sys.exit()

2008-01-10 Thread Andrew Volmensky
like any other exception. If you are running a program directly, SystemExit will probably propagate to the interpreter and cause the program to exit, just as any other uncaught exception would. Running in IDLE or another shell, the exception is caught and logged but it doesn't abort

[Tutor] import sys; sys.exit()

2008-01-10 Thread Andrew Volmensky
I am going through the tutorial "Simple Sequences" here: http:// www.freenetpages.co.uk/hp/alan.gauld/ ...and get an error. I have tried saving as exit.py from the editor and trying to run it and also entering the commands directly into the shell. My understanding is that this is supposed t