On Sat, Aug 15, 2015, at 18:54, Wes Turner wrote: > Thanks! Hadn't been aware that there is a flatten() func in stdlib. You should be aware that this will flatten _any_ list or tuple elements inside the elements, and it is gone in python 3. Also, it constructs the result as a list rather than an iterator, if that matters to you.