Hi

I have a string which contains a tupe, eg:

s = "(1, 2, 3, 4)"

and I want to recover the tuple in a variable t

t = (1, 2, 3, 4)

how would you do ?


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to