Python 3.9+
json
BitArray
use the command: "pip install package_name" in the terminal to install packages.
'.txt' file written in unicode 'utf-8' for compression and
'.bin' file for decompression
Put the file in '.txt' format in the same folder as the 'myHuffman.py'
Open 'myHuffman.py' with any preferred python IDE with version 3.9+
To compress a file, enter the full of the file you put in the same folder earlier.
To decompress a file, enter the full of the file but with the '.bin' extension.
To exit the program, enter '0' in the menu interface.
Watch video for a visualisation on the instruction.
The test text document can be found: https://www.gutenberg.org/files/64880/64880-0.txt [accessed on 3/20/2021]
Thank you