\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{SubsMat} \PYG{k+kn}{import} \PYG{o}{*}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{ftab} \PYG{o}{=} \PYG{n}{FreqTable}\PYG{o}{.}\PYG{n}{FreqTable}\PYG{p}{(}\PYG{n}{my\PYGZus{}frequency\PYGZus{}dictionary}\PYG{p}{,} \PYG{n}{FreqTable}\PYG{o}{.}\PYG{n}{FREQ}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{ftab} \PYG{o}{=} \PYG{n}{FreqTable}\PYG{o}{.}\PYG{n}{FreqTable}\PYG{p}{(}\PYG{n}{my\PYGZus{}count\PYGZus{}dictionary}\PYG{p}{,} \PYG{n}{FreqTable}\PYG{o}{.}\PYG{n}{COUNT}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{ftab} \PYG{o}{=} \PYG{n}{FreqTable}\PYG{o}{.}\PYG{n}{read\PYGZus{}count}\PYG{p}{(}\PYG{n+nb}{open}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}myCountFile\PYGZdq{}}\PYG{p}{))}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{ftab} \PYG{o}{=} \PYG{n}{FreqTable}\PYG{o}{.}\PYG{n}{read\PYGZus{}frequency}\PYG{p}{(}\PYG{n+nb}{open}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}myFrequencyFile\PYGZdq{}}\PYG{p}{))}
\end{Verbatim}
