[Christopher J. Bottaro]
>> def myFunc():
>>   print __myname__
>> >>> myFunc()
>> 'myFunc'

Perhaps the __name__ attribute is what you want:


>>> def myFunc():
        print myFunc.__name__

>>> myFunc()
myFunc

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to