Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Generate a silly fishy-pants themed company name
#!/usr/bin/env python
import random
import argparse
fish = [
'Angle',
'Bait',
'Bob',
'Castaway',
'Fish',
'Net',
'Trawl'
]
pants = [
'Chaps',
'Cords',
'Jeans',
'Pants',
'Shorts',
'Slacks',
'Trousers',
'Overalls'
]
companies = [
'Innovations',
'Interactive',
'Productions',
'Enterprises',
'Incorporated'
]
def gen_random_company_name():
f = random.choice(fish)
p = random.choice(pants)
c = random.choice(companies)
print('{}{} {}'.format(f, p, c))
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Generate a silly fishy-pants themed company name')
parser.add_argument('count', type=int, nargs='?', default=1,
help='Number of items to generate')
args = parser.parse_args()
done = 0
while (done < args.count):
done += 1
gen_random_company_name()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment