Python wydrukuj komunikat wyjątku i ślad stosu

# Basic syntax:
import traceback
try:
	your code here
except:
	print(traceback.format_exc())
Charles-Alexandre Roy