title: how to select the value from list pair in python
body: <p>i have below list, trying to pull the value of the list pair, example i need to know what is the <code>average_buy_price</code> from the <code>list</code>.</p>
  <pre><code>[{'enabled': True, 'total_buy_quantity': 45, 'average_buy_price': '6755.03'}]
  </code></pre>
  <p>currently it is giving <code>error</code>.</p>
  <pre><code>TypeError: list indices must be integers or slices, not str
  </code></pre>
  <p>the above output is coming from system, i  need to select only the value which i need. example <code>( 'average_buy_price')</code> need to get the output of the value. <code>'6755.03</code></p>
  <p>one thing i have notice is that, it is starting with [ and closing with ] , for testing i just copied from { to } i am able to pull the value, looks like some problem with syntax when i am using. required help.</p>