2011-06-09 74 views

回答

2

如果我理解正確的話 - Inspect是什麼你正在尋找。

import inspect 
def test(): 
    print inspect.stack()[0][3] 
相關問題