# Note how the boxing.py file has the 3 functions we need to utilize # in our application, but that code does NOT clutter up our program file. from htmlFunctions import makeHTMLbox from htmlFunctions import printHTMLfile from htmlFunctions import makeHTMLword # example usage pairs = [('hi',5),('there',6),('mom',300),('fred',2),('bill',50)] highCount=300 lowCount=2 body='' for word,cnt in pairs: body = body + makeHTMLword(word,cnt,highCount,lowCount) box = makeHTMLbox(body) printHTMLfile(box,'testFile22')