Skip to content

Instantly share code, notes, and snippets.

@relsqui
Last active September 28, 2017 03:55
Show Gist options
  • Save relsqui/6966367 to your computer and use it in GitHub Desktop.
Save relsqui/6966367 to your computer and use it in GitHub Desktop.
Older versions of the PSU out list don't have great spacing, so the identity labels and the academic fields sort of run together. The result is funny. Rather than standing in the QRC reading the out list and giggling, here's a script to generate them.
C:\home\relsqui\queermajors> ./pickmajor.py
polyamorous music
C:\home\relsqui\queermajors> ./pickmajor.py
androgynous spanish
C:\home\relsqui\queermajors> ./pickmajor.py
genderfluid pre-health
C:\home\relsqui\queermajors> ./pickmajor.py
intersex music composition
C:\home\relsqui\queermajors> ./pickmajor.py
gay chemistry
C:\home\relsqui\queermajors> ./pickmajor.py
transgender botany
C:\home\relsqui\queermajors> ./pickmajor.py
butch russian
C:\home\relsqui\queermajors> ./pickmajor.py
femme photography
queer
lesbian
gay
bisexual
questioning
transgender
intersex
genderqueer
genderfluid
androgynous
butch
femme
pansexual
polyamorous
demisexual
asexual
accounting
russian
advertising management
aging services
anthropology
applied linguistics
arabic
architecture
art history
graphic design
art
arts and letters
biochemistry
biology
botany
physics
business administration
finance
human resources management
management and leadership
marketing
supply and logistics management
chemistry
child and family studies
chinese
civic leadership
civil engineering
classical studies
communication
computer engineering
computer science
turkish
criminology
dance
design management
earth science
economics
electrical engineering
education
english
film
french
geography
geology
german
history
italian
japanese
jazz studies
judaic studies
latin american studies
law and legal studies
liberal studies
mathematics
mechanical engineering
medieval studies
middle east studies
music
music history
music composition
music education
persian
philosophy
photography
political economy
political science
pre-health
pre-law
psychology
real estate development
religious studies
science
secondary education
social science
social work
sociology
space and planetary science
spanish
special education
speech and hearing sciences
sustainability
theater arts
time arts
turkish
undecided
women's studies
#!/usr/bin/python
from random import choice
with open("idlabels.txt") as f:
labels = f.readlines()
with open("majors.txt") as f:
majors = f.readlines()
print("{} {}".format(choice(labels).strip(), choice(majors).strip()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment