[Tutor] list of dictionary

sunil tech sunil.techspk at gmail.com
Fri Feb 25 06:35:35 CET 2011


Hi all...

i have d=[{'qty':0.0},{'qty':0.0}]

when all the qty is 0.0,
i want to perform some print operation
(only at once, after it checks everything in the list of dictionary 'd')...

if its not 0.0,
print some message...

Thank you in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110225/01661490/attachment.html>


More information about the Tutor mailing list