index

“index” returns a list of tuples corresponding to the object name and index of the atoms in the selection.

See Also

cmd.index | commands