I don't know if it was intentional, but that's a masterful play on words if so :)
On 19 November 2011 03:41, Jake b <ninmonk...@gmail.com> wrote: > That's called 'list comprehension': > http://docs.python.org/tutorial/datastructures.html#list-comprehensions > > On Thu, Nov 17, 2011 at 8:14 PM, Lee Buckingham > <lee.bucking...@gmail.com>wrote: > >> >> >> >>> filenames = [f for f in filenames if f.endswith(".png")] >>> >> >> >> Slick! I learn so much listening to you guys and your questions. >> > > > > -- > Jake >