DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
exception get line number python
import traceback try: print(4/0) except ZeroDivisionError: print(traceback.format_exc())
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#exception
#line
#number
#python
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit