code: def get_info(pdb_id, url_root='http://www.rcsb.org/pdb/rest/describeMol?structureId='):
      '''Look up all information about a given PDB ID
  
      Parameters
      ----------
  
      pdb_id : string
          A 4 character string giving a pdb entry of interest
  
      url_root : string
          The string root of the specific url for the request type
  
      Returns
      -------
  
      out : OrderedDict
          An ordered dictionary object corresponding to bare xml
  
      '''
  
      url = url_root + pdb_id
      req = urllib.request.Request(url)
      f = urllib.request.urlopen(req)
      result = f.read()
      assert result
  
      out = xmltodict.parse(result,process_namespaces=True)
  
      return ouf get_info(pdb_id, url_root='http://www.rcsb.org/pdb/rest/describeMol?structureId='):
      '''Look up all information about a given PDB ID
  
      Parameters
      ----------
  
      pdb_id : string
          A 4 character string giving a pdb entry of interest
  
      url_root : string
          The string root of the specific url for the request type
  
      Returns
      -------
  
      out : OrderedDict
          An ordered dictionary object corresponding to bare xml
  
      '''
  
      url = url_root + pdb_id
      req = urllib.request.Request(url)
      f = urllib.request.urlopen(req)
      result = f.read()
      assert result
  
      out = xmltodict.parse(result,process_namespaces=True)
  
      return out
docs: Look up all information about a given PDB ID
  
      Parameters
      ----------
  
      pdb_id : string
          A 4 character string giving a pdb entry of interest
  
      url_root : string
          The string root of the specific url for the request type
  
      Returns
      -------
  
      out : OrderedDict
          An ordered dictionary object corresponding to bare xml