#!/usr/bin/env python import random import string import cgi # Generate a random string for the "fuckhole" element bottom_laugh = ''.join(random.SystemRandom().choice(string.ascii_letters + ";" + "a" + "d" + "s" + "f" + "j" + "k" + "L" + "l") for _ in range(20)) # Define the elements list elements = [" boy", " girl", " masculinized", " feminized", " twinkified", " butchified", " bimbofied", " puppified", " king", " queen", " CEO of", " President of", " VP of", " slay", " cum rag", " opossum", " bussy", " boymoder", " girlmoder", " weirdcore", " cottagecore", " boywife", " malewife", " femboy", " tradwife", " fuckhole", bottom_laugh] # Generate a random gay name sample = random.sample(elements, 4) while sample[-1].endswith("of") or sample[-1].endswith("ed"): sample.pop() new_element = random.choice([e for e in elements if not e.endswith("of") and not e.endswith("ed")]) sample.append(new_element) name = " ".join(sample) # Print the content type header print("Content-Type: text/html\n") # Print the HTML page with the generated gay name print("") print("") print("") print("Gay Name Generator") print("") print("") print("

Gay Name Generator

") print("

Your gay name is:

") print("

{}

".format(name)) print("") print("")