Files
  • main.py
  • mus.txt
main.py
1
2
3
4
5
6
7
8
9
10
# THIS IS FOR SMOGON.COM/BRACKETMAKER TAGGING
# PUT ALL OF THE "X VS Y" MATCHUPS FROM THE PAIRING SECTION IN MUS.TXT ON THE LEFT
# THEN CLICK RUN
file = open('mus.txt', 'r')

for line in file:
  if "vs Bye" not in line:
    print '@' + line.replace('vs ', 'vs @').replace('\n', '')
  else:
    print '@' + line[:-1]