Bjoern Schliessmann a écrit : > Alexandre Badez wrote: >> I'm just wondering, if I could write a in a "better" way this code >> [...] >> I think there is a better way, but I can't see how... > > What's "better" for you? Shorter? More performant? More readable? > Complying with best practice? Closely following a specific > programming paradigm?
I think the OP meant "more pythonic". -- http://mail.python.org/mailman/listinfo/python-list