跳到主要內容
搜尋
搜尋此網誌
任務日誌
分享
取得連結
Facebook
Twitter
Pinterest
以電子郵件傳送
其他應用程式
3月 20, 2014
如何在 python 函式內部得知函式名稱
http://stackoverflow.com/questions/245304/how-do-i-get-the-name-of-a-function-or-method-from-within-a-python-function-or-m
簡單來說是在函式內執行: inspect.stack()[0][3]
留言
熱門文章
5月 02, 2020
怎麼規劃一份 User Flow Diagram
11月 15, 2013
關於 python int 會導致的可能問題
留言
張貼留言