擅长:python、mysql、java
<p>可以使用<a href="http://docs.python.org/library/inspect.html#the-interpreter-stack" rel="noreferrer">inspect</a>模块,该模块具有一些用于跟踪的实用函数。看看frame对象的<a href="http://docs.python.org/library/inspect.html#types-and-members" rel="noreferrer">overview of properties</a>。</p>