Duep
unknown
python
a year ago
1.1 kB
1
Indexable
Never
try: import colorama import os import ctypes import random import time from collections import Counter from colorama import init, Fore, Back, Style init() blue = Fore.BLUE ctypes.windll.kernel32.SetConsoleTitleW(f'Combo Cleaner V1 by AIO') def cls(): os.system('cls' if os.name=='nt' else 'clear') def dupes(): combo = open('combo.txt','r',errors='ignore').read().splitlines() output = list(set(combo)) with open('output.txt','w',errors='ignore') as p: p.writelines('\n'.join(output)) def close(): exit() def choosing(): cls() print(f''' {blue} 1 >> {blue}Remove dupes {blue} Remember to add your combo in combo.txt in the same folder {blue} The output will be in output.txt ''') choice = int(input(' Choice: ')) cls() if choice == 1: dupes() choosing() choosing() except Exception as err: print(err) input('\nPress Enter to exit.')