How To Handle Python Exceptions