simple question about Dictionary type containing List objects

gganesh ganesh.gbg at gmail.com
Mon Jul 13 12:34:19 CEST 2009


Hi group,
I have a dict object like
emails={'mycontacts': [ 'xxx at gmail.com, 'yy at gmail.com',
'zz at gmail.com'], 'myname':['gganesh']}
I need to get the lenght of the list mycontacts ,like
mycontacts_numbers=3
help me to solve
Thanks





More information about the Python-list mailing list