How to use Open a terminal and change the directory to the one containing the script and files. You need to have Python and Pygments installed. Give: python generate.py .