Tuple object does not support item assignment
Improving the Review Queues - Project overview. Viewed k times. Question feed. I get the exact same picture tupe the imported one. The convert method will ensure that the pixels tuple object does not support item assignment always r, g, b tuples. Introducing the Moderator Council - and its first, pro-tempore, representatives. Learn more. You probably have a tuple named pixeland tuples are immutable. If you'd like to change the contained values though I suggest using a list:. Sign up using Facebook. Here's a minimally changed version of your code that first creates a list of lenp zeros, then replaces their values with the computed ones:. Roman Bodnarchuk Roman Bodnarchuk Yann Vernier Yann Vernier 13k 2 2 gold badges 23 23 silver badges 23 23 bronze badges.