Home
Name Modified Size InfoDownloads / Week
readme.txt 2010-11-30 506 Bytes
huffmantreenode.py 2010-11-30 2.1 kB
linkedlistnode.py 2010-11-30 1.0 kB
queue.py 2010-11-30 2.3 kB
binarytreenode.py 2010-11-30 2.3 kB
huffman.py 2010-11-30 5.0 kB
huffmantree.py 2010-11-30 4.8 kB
Totals: 7 Items   18.1 kB 0
The Huffman coding compression program works very simply to compress text files.
Here is the user interface:
> python huffman.py [compress/decompress] [filename]
When compressing, a file is saved as fileName + "Compressed.txt".
IT DOES NOT DELETE ORIGINAL FILE! For practical applications, the original file would of course be deleted.

When decompressing, a file is saved as original filename + "Decompressed.txt"
Example: manofthecrowd.txt => manofthecrowdCompressed.txt => manofthecrowdDecompressed.txt
Source: readme.txt, updated 2010-11-30