Home > other > Loop lines processing data, not an error, the program suddenly like a crash, error is repetition
Loop lines processing data, not an error, the program suddenly like a crash, error is repetition
Time:10-16
Loop lines processing data, not an error, the program suddenly like a crash, error is repetition, problems caused by data is not conclusive, Next start, the same data can be, but may also in a row to a sudden stop CPU 0% Don't have any computing resources All errors are thrown, but the program is not capture
CodePudding user response:
Program is not to catch exceptions, But because of who I am you only specify the specific exceptions, you don't have to capture other abnormalities, except you specify exceptions Behind the last except, plus a except to capture other abnormalities, and see what happens
except Exception as e: Print (' My exceptions are: 'e)
If I can't see anything, expand the scope of the try statement and see exactly what is going wrong,
CodePudding user response:
BaseException is the Exception of the parent class do