A place for all our bot adventures.
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.
|
|
|
import random
|
|
|
|
|
|
|
|
# characters = ['*','+','-','/','-','-']
|
|
|
|
characters = ['a','e','o','i','u']
|
|
|
|
out = open('handles.txt', 'w')
|
|
|
|
handles = set()
|
|
|
|
|
|
|
|
# generate handles
|
|
|
|
while len(handles) < 2500:
|
|
|
|
handle = ''
|
|
|
|
for h in range(5):
|
|
|
|
handle += random.choice(characters)
|
|
|
|
print(handle)
|
|
|
|
handles.add(handle)
|
|
|
|
|
|
|
|
# write handles to file
|
|
|
|
for handle in handles:
|
|
|
|
out.write(handle + '\n')
|