title: How to get the atoms in the residue using Biopython
body: <p>I am working with Biopython. I want to find out the atoms in a residue.</p>
  
  <pre><code>from Bio import PDB
  
  pdb = "1dly.pdb"
  name = pdb[:3]
  
  p = PDB.PDBParser()
  s = p.get_structure(name, pdb)
  
  y = s.get_residues()
  for x in y:
      print x, x.resname
  </code></pre>
  
  <p>I got the residue name but I need to get the atoms inside the residue. How can I do that?</p>