code: def get_all():
      
  
      url = 'http://www.rcsb.org/pdb/rest/getCurrent'
  
      req = urllib.request.Request(url)
      f = urllib.request.urlopen(req)
      result = f.read()
      assert result
  
      kk = str(result)
  
      p = re.compile('structureId=\"...."')
      matches = p.findall(str(result))
      out = list()
      for item in matches:
          out.append(item[-5:-1])
  
      return out
docs: Return a list of all PDB entries currently in the RCSB Protein Data Bank
  
      Returns
      -------
  
      out : list of str
          A list of all of the PDB IDs currently in the RCSB PDB
  
      Examples
      --------
  
      >>> print(get_all()[:10])
      ['100D', '101D', '101M', '102D', '102L', '102M', '103D', '103L', '103M', '104D']