title: Handling Exceptions in Python 3.6
body: <p>I am trying to handle exceptions in Python 3.6. I want to handle every possible exception and print the exception. When i do </p>
  
  <pre><code>try:
      raise RuntimeError("Test")
  
  except:
      e = sys.exc_info()[0]
      print(e)
  </code></pre>
  
  <p>it just prints</p>
  
  <blockquote>
    <p>class '_mysql_exceptions.OperationalError'</p>
  </blockquote>
  
  <p>How do i get the message of the Exception? In this case i would like the output to be "Test".</p>