Find function name in function

Ilariu Raducan lale at fotonation.com
Tue May 20 10:04:46 EDT 2003


Hi,

Is it possible to find the function name in that specific function?
I the following example I want to be able to find what name the user 
used to call the function: XXX, yy, zz
Is that possible?

def XXX():
     #find function name XXX or yy
     pass
XXX()
yy=XXX
yy()
zz=XXX
zz()

Thank you,
Lale





More information about the Python-list mailing list