names

Elliott Chapin echapin at sympatico.ca
Sun Jan 14 20:26:45 EST 2001


How can I get the name of an object as a string? As a biginner I might
imagine something like

>>>b=[[1],[2]]
>>>name(b)
'b'



---------------------------------------------------------------

Elliott Chapin          www3.sympatico.ca/echapin





More information about the Python-list mailing list