#Checked Words c.checkedWords(filename, specificLocation, numline, words, checkWords, results) #WordCloud c.wordcloud(overallresult,negativeresult,positiveresult, testy, font) #Big Brother counts = counts + 1 else: counter = counter +1 if category == "Y": categories = c.categoryBreakdown(filename) for cat in categories: print(cat) f = open(filename, "rb") numline = len(f.readlines())-4 f.close() dare = cat.replace('/', ".") resultLocation = str(letter)+":/Comment-Graph Report/Result/Comment Report/" + str(dare) + ".txt" results = open(resultLocation, 'w') nameLocation = str(letter) + ":/Comment-Graph Report/Result/Comment Report/ " + str(dare) + " Names.txt" nameofnames = open(nameLocation, 'w') results.write("\n") results.write(cat) #Record current filename name results.write("\n----------------------------------------------")