\documentclass[main.tex]{subfiles}
\begin{document}
\section{Codage d'Huffman}
\subsection{version objet}

\inputminted{python}{../algo_code/huffman.py}
\subsection{version simple}

\inputminted{python}{../algo_code/huffman2.py}
\section{Codage arithétique}
\section{Codage LZW}
\inputminted{python}{../algo_code/LZW.py}

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: main.tex
%%% End:
