#!/usr/bin/env python3 import os import runpy # Directory this CGI script lives in here = os.path.dirname(__file__) # Path to the real script script = os.path.join(here, "ppgen.py") # Execute ppgen.py as if it were the main script runpy.run_path(script, run_name="__main__")