FontForge is a free, light and very powerful tool to edit fonts. You can use it as stand alone graphical software or as python library. Link to GUI tutorial to edit glyphs here. Useful notes for FontForge GUI version: If you edited a glyph and you want to generate the .ttf file, go to File…
Export HTML to PDF with Python and Flask
Here is a very quick guide to generated a PDF from HTML and download it using Flask. First of all add these two dependencies in you requirements.txt file and install them using pip Then install the pdf engine running: In your code, import pdfkit and render an HTML template. Then put the output into pdfkit…
How to install a venv in Python without network connection
In some cases you have to replicate a Python project on a computer without internet connection. In these cases you must not simply copy the venv folder. Requirements for this process: the project, a memory mass storage, another computer with internet connection. First of all, you have to to install Python on the offline machine….
How to read multipart form data with Flask
This is a simple snippet in Python that allows to read a multipart form data with Flask.