import runpy from pathlib import Path runpy.run_path(str(Path(__file__).resolve().parent / "build_pdf.py"), run_name="__main__")