Description: Python's runtime errors are called exceptions
Syntax error: there are errors in the structure of the software that can not be compiled by the interpreter or compiled by the compiler
Logical error: due to incomplete or unlawful input, it may also be impossible to generate logic, and the process of computing or output results cannot be executed.
An Python exception is an object that represents an error or an accident
When an error is detected in Python, an exception will be triggered
Python can send an exception object through an exception transmission mechanism to send out an abnormal situation
The programmer also triggers exceptions in the code itself
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
异常.pptx | 752961 | 2018-03-08 |