I would like to construct a neighbour list of multiple atoms.
AllAtoms = {}
AllAtoms[0] = [0,[]]
AllAtoms[1] = [0,[AllAtoms[0][0]]]
AllAtoms[2] = [0,[AllAtoms[0][0]]]
Every member of the dictionary is referencing other members of the dictionary. I do not know how to make this reference work so that when a change is made e.g
AllAtoms[0] = [99,[]]
, the members referencing this object also change.
Thank you
Andy
python 2.6