title: How to get the content inside string in python
body: <p>I have string variable in python as</p>
  
  <pre><code>variable = "[['Acc',{'b':1,'s':1}],['ABC',{'c':1,'d':1}]]"
  </code></pre>
  
  <p>the type of this varible is <code>&lt;class 'str'&gt;</code> </p>
  
  <p>I want output as 
  <code>result = [['Acc',{'b':1,'s':1}],['ABC'],{'c':1,'d':1}]</code> 
  which should be of type <code>&lt;class 'list'&gt;</code></p>
  
  <p>I dont know how to get this. Plz help me.</p>