Python exception mechanism
Exception: An error reported when the program is running.
Exception handling:
Excep can have many situations, Exception must be written at the bottom, because it is matched from top to bottom.
If the 1.txt file is not found now, it will be printed out and something went wrong, but I want to know what is wrong. How to do it?
Finally is generally used to close the stream or close the database