On Fri, Sep 25, 2009 at 1:00 AM, Norman Khine <nor...@khine.net> wrote:
>>> Is there a better method to write the last bit of the code. > Apologies for not being clear. I was thinking more that I may have > one the too many 'for' loops at the end of the code. > > http://paste.lisp.org/display/87659#1 It's only two loops.I'm still not sure what your concern is. If performance is important and resource.get_resource() is accessing a database then you might look for a way to get all the addresses in a single query. But overall it doesn't seem too bad. Kent _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor