title: Difference between except: and except Exception as e:
body: <p>Both the following snippets of code do the same thing. They catch every exception and execute the code in the <code>except:</code> block</p>
  
  <p>Snippet 1 - </p>
  
  <pre><code>try:
      #some code that may throw an exception
  except:
      #exception handling code
  </code></pre>
  
  <p>Snippet 2 - </p>
  
  <pre><code>try:
      #some code that may throw an exception
  except Exception as e:
      #exception handling code
  </code></pre>
  
  <p>What is exactly the difference in both the constructs?</p>