Newbie Question: Giving names to Elements of List/Tuple/Dict

Christos TZOTZIOY Georgiou DLNXPEGFQVEB at spammotel.com
Wed Jan 1 15:36:48 EST 2003


On 29 Nov 2002 19:56:44 +0800, rumours say that "Alfredo P. Ricafort"
<alpot at mylinuxsite.com> might have written:

>My question now is, how can I assign names to the elements? Or is there
>a better way of doing this?

If you have tuples that you want to access either through index or name,
then the following might help you:

http://groups.google.com/groups?selm=735o0vk4uciifl692o51fk9om87o37bo6k%404ax.com&oe=UTF-8
-- 
TZOTZIOY, I speak England very best,
Real email address: 'dHpvdEBzaWwtdGVjLmdy\n'.decode('base64')




More information about the Python-list mailing list