Sullivan WxPyQtKinter wrote: > So how > could I refer to the function object per se, in the body of the > function itself?
Just use the name.
def f():
print f.__name__
>>> f()
f
--
http://mail.python.org/mailman/listinfo/python-list
Sullivan WxPyQtKinter wrote: > So how > could I refer to the function object per se, in the body of the > function itself?
Just use the name.
def f():
print f.__name__
>>> f()
f
--
http://mail.python.org/mailman/listinfo/python-list