Python -Methode Name
import inspect
def bar():
print("My name is", inspect.stack()[0].function)
miletoo
import inspect
def bar():
print("My name is", inspect.stack()[0].function)