<p>在Python的try-except块中,是否有方法使用<code>Exception</code>对象的属性/属性?</p>
<p>例如,在Java中,我们有:</p>
<pre class="lang-java prettyprint-override"><code>try {
// Some code
} catch(Exception e) {
// Here we can use some of the attributes of "e"
}
</code></pre>
<p>Python中的哪个等价项会给我一个对<code>e</code>的引用?</p>