Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Generate a silly fishy-pants themed company name
#!/usr/bin/env python
import random
import argparse
fish = [
pants = [
companies = [
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment