“cmd.pop” provides a mechanism of iterating through an atom selection atom by atom, where each atom is sequentially assigned to the named selection.
cmd.deselect()
def pop(name, source, enable=-1, quiet=1):
pop | api