Skip to content

LilJohny/HuffmanEncoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HuffmanEncoding

To run the program you need to navigate to Encoder folder like this:
cd Encoder
And then you need to run main.py:
python main.py
You will be prompted to enter message to encode.
It should look like this:
Type message to encode:
You need to enter message to encode.
After that program will build Huffman tree.
You will see output:
Encoding table :
This line will contain mapping of letters of message to their codes.
Encoded message :
This line will contain message, where letters of message will be replaced with their codes

Releases

No releases published

Packages

No packages published

Languages