I have a string separated by comma(,) which contains list, integer,boolean and string. How to convert this to a list. For example,
s= "[{'Name':'key','Values':['data']}],6,True,'somestring'"
I want to convert this to list as below in Python(3.5v)
[[{'Name':'key','Values':['data']}],6,True,'somestring']
The problem here is, when i tried to split it based on comma, the items inside list get divided. Please help.