Oct-19-2020, 11:22 PM
(Oct-19-2020, 10:42 PM)Larz60+ Wrote: FYI: Python 2.7 is obsolete and reached end of life Jan 1, 2020.
I am aware, thank you, but I am in GIS and according to my professor Python 2.7. is still the most compatible Python version with ArcMap. Which means I have to use 2.7.
Still looking for help with the original question. How do I go about preventing duplicate list items? I tried using:
resultlist.remove('Duplicate Element') resultlist.pop('Duplicate Element') resultlist.remove(id,'Duplicate Element')But they are for some reason not working at all or removing half of the entire list.