#GetFont font = c.getFont(fontlist) #Constants ignoreWords = open(str(letter)+":/Comment-Graph Report/User Tools/Stop Words.txt").read().splitlines() checkWords = open(str(letter)+":/Comment-Graph Report/User Tools/Specific.txt").read().splitlines() specificLocation = str(letter) + ":/Comment-Graph Report/Result/Comment Report/Specific Comments.txt" counts = 0 counter = 0 #GetDate date= c.getDate() #GetCategory() category = c.getCategory() #Break it down by date if date == "Y": dates = c.dateBreakdwon(filename) if len(dates)>1: for d in dates: print(d) dare = d.replace('/', ".") f = open(filename, "rb") numline = len(f.readlines())-4 f.close() resultLocation = str(letter)+":/Comment-Graph Report/Result/Comment Report/" + str(dare) + ".txt" nameLocation = str(letter) + ":/Comment-Graph Report/Result/Comment Report/" + str(dare) + " Names.txt" nameofnames = open(nameLocation, 'w') results = open(resultLocation, 'w')