Delete duplicate contacts and contacts with more or less than X digits using Python

Pietro Colombo
2 min readApr 13, 2021
Photo by Brett Jordan on Unsplash

If you export the address book in CSV, you can delete duplicate contacts and also those with phone numbers with more or less than X digits.

First you need to export your contacts in CSV format.

For this tutorial we use python.

--

--