title: How to see errors or exceptions in a Python script?
body: <p>I'm completely new to working with Python (I have a PHP background)</p>
  
  <p>I'm used to PHP's Error Handling and Logging.  Yet, with Python I'm getting a 500 Error on a very simple script that should work.</p>
  
  <p>Is there a way to turn on Error Handling with Python? As 500 Error doesn't tell me much of anything, except that something is not right.</p>
  
  <p>I have looked on the net for an answer to this, but I'm not finding a solution to what should be very obvious.</p>