I needed a place to stick this:
Reminder: Itertools variants for functional prg:
- def map( func, seq ): return [ func(x) for x in seq ]
- def filter( func, seq ): return [ x for x in seq if func(x) ]
Excellent. Have I mentioned I love BloGTK? *grin*
I needed a place to stick this:
Reminder: Itertools variants for functional prg:
Excellent. Have I mentioned I love BloGTK? *grin*