>>Muze funkce zjistit nazev sama sebe? Hodilo by se mi to pro ladici ucely. > melo by to jit vytahnout z tracebacku pomoci traceback.extract_stack(). Bezva, dekuji, funguje mi to takto: >>> from traceback import extract_stack as es >>> def xxx(): ... print es()[-1][2] ... >>> xxx() xxx