Initial commit: pdf skill

This commit is contained in:
2026-03-22 11:43:37 +08:00
commit c0ca104998
12 changed files with 1838 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import sys
from pypdf import PdfReader
reader = PdfReader(sys.argv[1])
if (reader.get_fields()):
print("This PDF has fillable form fields")
else:
print("This PDF does not have fillable form fields; you will need to visually determine where to enter data")