Stef, For clarification, there is nothing hazardous about using eval on the string that you presented.
t = eval('(0, 0, 0, 255), (192, 192, 192, 255), True, 8') Whether or not this is the "simplest" solution, remains a question. -- http://mail.python.org/mailman/listinfo/python-list