Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to print python exception message

print(repr(e)) # Returns both the message and type of exception
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #python #exception #message
ADD COMMENT
Topic
Name
7+6 =