This python script converts pdf file written in french into html file. The conversion consists in organizing the textual content of a pdf file into separate blocks. Each of these blocks will be transformed into an html section: H1, H2, P, FigCaption, Footer, Header. <br> This program uses pdftohtml and pdftotext, two tools of the poppler bookstore (https://poppler.freedesktop.org/)<br> <br> It's run from the command line: <pre><code>python pdf2blocks.py /link/to/file.pdf</code></pre> The result is written on standard output. The algorithme is described in french into the README.md file of the archive.