On 25/02/2011 9:44 AM, Patty wrote:
- Original Message -
*From:* Pacific Morrowind <mailto:pacificmorrow...@gmail.com>
*To:* tutor@python.org <mailto:tutor@python.org>
*Sent:* Thursday, February 24, 2011 10:21 PM
*Subject:* Re: [Tutor] list o
- Original Message -
From: Pacific Morrowind
To: tutor@python.org
Sent: Thursday, February 24, 2011 10:21 PM
Subject: Re: [Tutor] list of dictionary
Hi;
On 24/02/2011 9:35 PM, sunil tech wrote:
Hi all...
i have d=[{'qty':0.0},{'qty':0.0}
"sunil tech" wrote
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...
Just so I'm clear on the requirement you want something
l
Hi;
On 24/02/2011 9:35 PM, sunil tech wrote:
Hi all...
i have d=[{'qty':0.0},{'qty':0.0}]
If there isn't some pressing reason to dictionaries as the list items
(but since I'm not sure how you're generating the list/what you are
later using the list I can't tell ofc but if applicable to your
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
___
Tut