How to print an exception in Python 3? How to print an exception in Python 3? python-3.x python-3.x