title: How do I print a specific string out of a dictionary element?
body: <p>SOLVED: Its a a key in a dictionary embedded as an element in a list</p>
  
  <pre><code>print(read[0]["Title"])
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/TkrKW.png" rel="nofollow noreferrer">Heres a picture of the output</a> I am trying to print the article titles (end of line 2) from this esummary request. However, I am unfamiliar with dictionary lists. </p>
  
  <p>I have tried splitting and slicing but those are for elements and strings. I have also looked at <a href="https://stackoverflow.com/questions/5404665/accessing-elements-of-python-dictionary-by-index">Accessing elements of Python dictionary by index</a> to no avail.
  Here's some code... </p>
  
  <pre><code>titles = Entrez.esummary(db="Pubmed", id= "31106594, 30889179")
  
  read = Entrez.read(titles)
  
  print(read["Title"])
  </code></pre>
  
  <p>I want it to print "Development of a Molecularly Stable Gene Therapy Vector for the Treatment of RPGR-associated X-linked Retinitis Pigmentosa"</p>
  
  <p>Instead it says "TypeError: list indices must be integers or slices, not str"</p>