Huffman tools to compress & decompress
Build in Python 3
- Compression
- Extract content from file
- Compress file
- Read file in byte array
- Decompression
- Extract compressed content from file
- Decompress file
- Decompressed file content is the same as the original file content
- Read file in byte array
- CLI (Command Line Interface)
[TP_HUFFMAN] $ python3 huffman.py -c leHorla.txt
# OUTPUT => Your content has compressed in: leHorlaEncode.txt
[TP_HUFFMAN] $ python3 huffman.py -d leHorlaEncode.txt
# OUTPUT => Your content is in: leHorlaDecode.txt