DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+9 =
Submit