I have a string like this one:
l1="[{'t_steps': '', 't_expected': '', 't_type': 'Functional', 't_precond': 'xxx', 't_notes': 'test note', 't_name': 'First test'}]"
I need to transform it to a real list object like:
l1=[{'t_steps': '', 't_expected': '', 't_type': 'Functional', 't_precond': 'xxx', 't_notes': 'test note', 't_name': 'First test'}]
I tried:
l1=list(l1)
or
l1=l1.split(',')
But the result is not good. Please can someone help me to convert my string to a form that python can read?
So many thanks in advance