Next: Syntax Errors Up: Python Tutorial Previous: Output Formatting

Errors and Exceptions

Until now error messages haven't been more than mentioned, but if you have tried out the examples you have probably seen some. There are (at least) two distinguishable kinds of errors: syntax errors and exceptions.



guido@cwi.nl