function name

Brendan Abel 007brendan at
Wed Apr 28 15:07:01 EDT 2010

On Apr 28, 11:44 am, Richard Lamboj <richard.lam... at> wrote:
> Hello,
> is there any way to get the name from the actual called function, so that the
> function knows its own name?
> Kind Regards,
> Richi

If you want to get the function name from within the function itself,
check out the inspect module.

More information about the Python-list mailing list