The answer to life, the universe, and everything is:
> ZeroDivisionError | Python 2.1a2 /home/ping/bin/python |
"ZeroDivisionError: integer division or modulo by zero" occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent call last.
/home/ping/python/tester.py |
21 print spam(1, (2, 3)) |
/home/ping/python/tester.py in spam(c=1, (d=2, e=3)) |
8 foo(x, y) |
/home/ping/python/tester.py in foo(a=3, b=2, bar=1) |
11 eggs(a, b + bar) |
/home/ping/python/tester.py in eggs(f=3, g=3) |
16 return h / i |
At this point the
ZeroDivisionError
exception was raised, containing the following information:
args = ('integer division or modulo by zero',)