In [1]:
from __future__ import print_function

1 / 0


---------------------------------------------------------------------------
ZeroDivisionError                         Traceback (most recent call last)
<ipython-input-1-61e27198e7c2> in <module>()
      1 from __future__ import print_function
      2 
----> 3 1 / 0

ZeroDivisionError: integer division or modulo by zero

In [2]:
print('ok')


ok