how do you get the name of a dictionary?
Steve Holden
steve at holdenweb.com
Fri Aug 18 23:21:37 EDT 2006
BartlebyScrivener wrote:
> Tim Chase wrote:
>
>>How would you ask for the object?
>>
>> >>> print get_name(banana)
>>
>>you might as well write
>>
>> >>> print "banana"
>>
>
> Or there used to be a guy in this group who said it was like asking a
> cat for its name. He headbanged himself unconscious though, or so they
> say.
>
> http://tinyurl.com/hql6d
>
> rd
>
We need to take this discussion to a meta-level. Once we find out what
the dictionary's name is, we will then need the name's name.
with-apologies-to-lewis-carroll-and-in-contravention-of-the-don't-post-while-intoxicated-rule-ly
y'rs - steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden
More information about the Python-list
mailing list