2021-01-10 16:10:13 +01:00
|
|
|
import random
|
|
|
|
|
2021-01-11 23:08:38 +01:00
|
|
|
# characters = ['*','+','-','/','-','-']
|
|
|
|
characters = ['a','e','o','i','u']
|
2021-01-10 16:10:13 +01:00
|
|
|
out = open('handles.txt', 'w')
|
|
|
|
handles = set()
|
|
|
|
|
|
|
|
# generate handles
|
2021-01-11 23:08:38 +01:00
|
|
|
while len(handles) < 2500:
|
2021-01-10 16:10:13 +01:00
|
|
|
handle = ''
|
|
|
|
for h in range(5):
|
|
|
|
handle += random.choice(characters)
|
2021-01-11 23:08:38 +01:00
|
|
|
print(handle)
|
2021-01-10 16:10:13 +01:00
|
|
|
handles.add(handle)
|
|
|
|
|
|
|
|
# write handles to file
|
|
|
|
for handle in handles:
|
|
|
|
out.write(handle + '\n')
|