program termination and return value
Scott Carlson
scarlson at omnimn.com
Fri Oct 8 16:20:51 EDT 2004
Hi,
Python novice. (But getting better.)
How do I terminate/quit my program during execution if I reach a point
where I desire to terminate the program?
How do I pass back an integer indicating (as example) an error number?
If I then do this, what do I put on the last line of my program to
return (for example) a zero, indicating success?
Thanks,
Scott
More information about the Python-list
mailing list