Skip to content

Instantly share code, notes, and snippets.

View gmseabra's full-sized avatar

Gustavo Seabra gmseabra

View GitHub Profile
@DIYer22
DIYer22 / addPageNumberToPDF.py
Last active July 24, 2023 19:41
Add Page Number to PDF file with Python(Python 给 PDF 添加 页码)
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
helpDoc = '''
Add Page Number to PDF file with Python
Python 给 PDF 添加 页码
usage:
python addPageNumberToPDF.py [PDF path]
require:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.