In Python, how to get the caller's method's full git path in the called method?

前端 未结 0 681
盖世英雄少女心
盖世英雄少女心 2020-12-11 19:50

I am using following answer related to In Python, how do I obtain the current frame?

def WHERE( back = 0 ):
   frame = sys._getframe( back + 1 )
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题