Hello all;

I'm working huffman coding of any .txt file, so first I need to analyse this text file. I need to read it, then analyse.
I need "exit" like table:
*************** *************
letter frequency(how many times same latter repeated) Huffman code(this will come later)

*************** *********

I started with:
Code:
f = open('test.txt', 'r')    #open test.tx
...