title: How do I get the stack trace from an Exception Object in Python 2.7?
body: <p>How can I get the full stack trace from the Exception object itself?</p>
  
  <p>Consider the following code as reduced example of the problem:</p>
  
  <pre><code>last_exception = None
  try:
      raise Exception('foo failed')
  except Exception as e:
      print "Exception Stack Trace %s" % e
  </code></pre>