Tag Archives: itertools

Itertools

Just recently came across the python itertools “tools for efficient looping” again. Generators have the advantage of not creating the whole list on definition, but on demand (in contrast to e.g., list comprehensions). Really worth a look: import itertools as … Continue reading

Posted in Coding | Tagged , , , , , | 2 Comments