Answer the question
In order to leave comments, you need to log in
How to find out the name of the method that called the method?
Hello. Suppose there is a class
class BasePluginClass:
def Print(self, data):
# тут нужно узнать имя метода, из которого был вызов
#run = "Run"
print data
def Run(self):
self.Print("string")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question