newbie question

ast nomail at com.invalid
Thu Mar 24 06:39:36 EDT 2016


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 ?





More information about the Python-list mailing list