Apologies if this question has already been asked but I do not think I know the correct terminology to search for an appropriate solution through google.
I would like to
The terminology you need is 'map' or 'dictionnary' : this will lead you to the right page in the python doc.
Extremely basic example:
>>> a = {123:'dave', 345:'mike'} >>> a[123] 'dave'