forked from varia/bots
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
365 B
18 lines
365 B
4 years ago
|
import random
|
||
|
|
||
4 years ago
|
# characters = ['*','+','-','/','-','-']
|
||
|
characters = ['a','e','o','i','u']
|
||
4 years ago
|
out = open('handles.txt', 'w')
|
||
|
handles = set()
|
||
|
|
||
|
# generate handles
|
||
4 years ago
|
while len(handles) < 2500:
|
||
4 years ago
|
handle = ''
|
||
|
for h in range(5):
|
||
|
handle += random.choice(characters)
|
||
4 years ago
|
print(handle)
|
||
4 years ago
|
handles.add(handle)
|
||
|
|
||
|
# write handles to file
|
||
|
for handle in handles:
|
||
|
out.write(handle + '\n')
|