Pass it to eval:
>>> eval('(1, 2, 3, 4, 5)')
(1, 2, 3, 4, 5)Basically what you are doing it evaluating the repr of the tuple. -Brett -- http://mail.python.org/mailman/listinfo/python-list
Pass it to eval:
>>> eval('(1, 2, 3, 4, 5)')
(1, 2, 3, 4, 5)Basically what you are doing it evaluating the repr of the tuple. -Brett -- http://mail.python.org/mailman/listinfo/python-list