Type d'expection d'impression Python
try:
# some code
except Exception as e:
print(type(e).__name__)
CBT fan club
try:
# some code
except Exception as e:
print(type(e).__name__)