Skip to content

benmurphyy/huffman-encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Huffman Encoder and Decoder

Simple huffman encoder and decoder for files encoded in 'utf-8' (most text files).
I built this after watching an interesting video on Huffman encoding here which I found really cool and interesting, so I wanted to write my own version of a simple Huffman encoder and decoder.

Usage:

Encode a file:

python huffman.py -e <inputfile> [outputfile] outputfile name is optional, default will be inputfile name followed by ".huff"

Decode a file:

python huffman.py -d <inputfile> [outputfile] outputfile name is optional, default will be inputfile name followed by ".txt"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages