Remove duplicates in excel sheet Sample Python script that mimics Remove Duplicates function in MS Excel Usage: python xl_removeduplicates.py [file_name] [column(s)] [-h if data has headers] python xl_removeduplicates.py sample_m.xlsx A,B -h The script is using openpyxl and sys