I am striving to convert a string to a tuple without splitting the characters of the string in the process. Can somebody suggest an easy method to do this. Need a one liner.
You can use eval()
eval()
>>> a = ['Quattro TT'] >>> eval(str(a)) ['Quattro TT']