<br><br><div class="gmail_quote">On Dec 13, 2008 3:12 PM, Tiger12506 <<a href="mailto:keridee@jayco.net">keridee@jayco.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I may sound like a know-it-all, but dictionaries *are* iterators.</blockquote><div>I'm used to that from you :P <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>[a for a in eventData if eventData[a] < time.time()]<br><br>This is more efficient. The keys method creates a list in memory first and<br>then it iterates over it.</blockquote><div>Thanks. I was fairly certain that was the case, but since I wasn't going to test the code, I used the alternative.
<br></div></div><br>