Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Traceback with newline
#python 3.5.2 import sys, traceback def func3(a): a/0; def func2(a, b): func3(a); def func1(a, b, c): func2(a, b); if __name__ == "__main__": try: func1(12, 0, 89) except: exc_type, exc_value, exc_traceback = sys.exc_info() # exc_type below is ignored on 3.5 and later exception_messages = traceback.format_exception(exc_type, exc_value, exc_traceback) for exception_message in exception_messages: print(exception_message)
run
|
edit
|
history
|
help
0
BinarySearchTree implementation in Python 3.5.2
linked_lists_2
GINGERMANZ
PVJ-COMP1-1-EQUIPO1
Transpose matrix
kawaii
PyRegBackRef
sum of odd numbers
Variables mutables e inmutables
Reading XML file