Home Posts About Admin

Previous Next

Python Tricks

Dec. 7, 2019, 3:28 p.m. by lufy


 

Catch multiple exceptions in one line:

>>> except (KeyError, AttributeError) as e:

      .....

 


Previous Next

Comments:

Author:



No comments yet :(