Skip to content

Instantly share code, notes, and snippets.

@tylerkerr tylerkerr/makeowlist.py Secret
Created Apr 30, 2017

Embed
What would you like to do?
#!/usr/bin/env python3
joiners = ['', ' ', '.', '_', '-', '+', '!', ',', '~']
mains = ['main', 'Main', 'MAIN']
permutations = []
with open('owchars.txt', 'r') as f:
lines = f.read().splitlines()
for line in lines:
for join in joiners:
for main in mains:
permutations.append(line + join + main)
[print(perm) for perm in permutations]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.