Python program that generates a GUI which depicts the process of creatign a huffman tree
Input: a .txt file.
Functions:
- Form a huffman tree according to the frequency of each letter in the file and print it in form of a binary tree on the screen as a part of your UI design;
- Create a dictionary of codewords (letter to code) and print it to the screen;
- Print the results of encoding to an output file;
Input: An encoded file from you encoding part.
Functions:
- Print the results to a file.