access the name of my method inside it

james_027 cai.haibin at gmail.com
Wed Aug 1 05:06:42 EDT 2007


Hi,

for example I have this method

def my_method():
    # do something

    # how do I get the name of this method which is my_method here?

Thanks,
james




More information about the Python-list mailing list