Fixed Try/Except in Python: How to properly ignore Exceptions? #dev #it #asnwer
Fixed Try/Except in Python: How to properly ignore Exceptions? #dev #it #asnwer
Try/Except in Python: How to properly ignore Exceptions?
When you just want to do a try/except without handling the exception, how do you do it in Python?
Is the following the right way to do it?
try : shutil.rmtree ( path ) except : pass
Answer: Try/Except in Python: How to properly ignore Exceptions?
@When you just want to do a try catch without handling the exception, how do you do it in…
View On WordPress











