On Mon, Jul 13, 2009 at 6:34 PM, gganesh <[email protected]> wrote:
> Hi group,
> 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=3 <http://mail.python.org/mailman/listinfo/python-list>
>
>>> len(emails['mycontacts'])
3
HTH,
Ching-Yun "Xavier" Ho, Technical Artist
Contact Information
Mobile: (+61) 04 3335 4748
Skype ID: SpaXe85
Email: [email protected]
Website: http://xavierho.com/
--
http://mail.python.org/mailman/listinfo/python-list