I created a compressor for my online course project using huffman algorithm. Problem is that the output file in binary (10101010011..) is bigger than the original files.
Teachers on the course don't know the answer.
I use this, where ciph_text is a string of 0s and 1s.
with open(full_name,'w') as temp:
temp.write(ciph_text)
Any idea?
I can post more code if requested.