Newbie question about tuples and list comprehensions

2008-06-25 Thread idiolect
Hi all - Sorry to plague you with another newbie question from a lurker. Hopefully, this will be simple. I have a list full of RGB pixel values read from an image. I want to test each RGB band value per pixel, and set it to something else if it meets or falls below a certain threshold - i.e., a

Re: Newbie question about tuples and list comprehensions

2008-06-25 Thread idiolect
On Jun 25, 7:26 pm, Terry Reedy <[EMAIL PROTECTED]> wrote: > idiolect wrote: > > Hi all - Sorry to plague you with another newbie question from a > > lurker. Hopefully, this will be simple. > > > I have a list full of RGB pixel values read from an image. I want t