B
Bruno Desthuilliers
Bjoern Schliessmann a écrit :
I think the OP meant "more pythonic".
Alexandre said: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".