Last active 1728455890

traceback.py Raw
1import traceback
2traceback.print_exc() # pour afficher la pile d'erreur sur la sortie standard
3chaine = tracebak.format_exc() # pour recupérer un str
4print(chaine)