gganesh wrote:
> I have a dict object like
> emails={'mycontacts': [ '[email protected], '[email protected]',
> '[email protected]'], 'myname':['gganesh']}
> I need to get the lenght of the list mycontacts ,like
> mycontacts_numbers=3mycontacts = emails['mycontacts'] mycontacts_number = len(mycontacts) A list doesn't change in behaviour when it is contained in a dictionary. Uli -- Sator Laser GmbH Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932 -- http://mail.python.org/mailman/listinfo/python-list
