Last active 1728455890

nithir's Avatar nithir revised this gist 1728455890. Go to revision

1 file changed, 4 insertions

traceback.py(file created)

@@ -0,0 +1,4 @@
1 + import traceback
2 + traceback.print_exc() # pour afficher la pile d'erreur sur la sortie standard
3 + chaine = tracebak.format_exc() # pour recupérer un str
4 + print(chaine)
Newer Older