My question is probably simple but I don't be able to figure it out.
Consider this code where mylist can have any number of dimension:
mylist = [[1,2,3,4],[5,6,7]]
mylist
[[1,2,3,4],[5,6,7]]
It's easy to cconvert it to string:
myString = str(myList)
myString
>'[[1,2,3,4],[5,6,7]]'
But how to easily convert it back to the same list ? I never get it work in any situation using .join or .split. I want it work in any case of the list was configured.
thanks