Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get stack trace

# Basic syntax:
import traceback
try:
	your code here
except:
	print(traceback.format_exc())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #stack #trace
ADD COMMENT
Topic
Name
1+2 =