fork(1) download
  1. list = [1,2,3,4,5,6]
  2.  
  3. for i in list:
  4. try:
  5. do_something(i)
  6.  
  7. except Exception:
  8. resolve_errors()
  9. do_something(i)
Runtime error #stdin #stdout #stderr 0.01s 28384KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 5, in <module>
NameError: name 'do_something' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./prog.py", line 8, in <module>
NameError: name 'resolve_errors' is not defined