I have a string:
s= \"[7, 9, 41, [32, 67]]\"
and I need to convert that string into a list:
l= [7, 9, 41, [32, 67]]
Use: package ast: function : literal_eval(node_or_string)
http://docs.python.org/library/ast.html#module-ast