Thanks a lot for your help ,and sorry for the fact that I haven't posted what I have written in the question. The real problem is that those codes seem so unfamiliar with me and I have trouble understanding why I should write something like 'unfold_entities' or 'atom_list'(see in the url I posted). I suppose it is actually a statement of initiation? By the way, when I change the 'A' in the "atoms = Bio.PDB.Selection.unfold_entities(structure, 'A')" statement into the name of the drug, then the search result is limited to the atoms in the drug, is that how it works?
Thank you very much!!!!!!