Python -Print -Exektionstyp

try:
    # some code
except Exception as e:
    print(type(e).__name__)
CBT fan club