mirror of
https://github.com/K-Dense-AI/claude-scientific-skills.git
synced 2026-03-27 07:09:27 +08:00
12 lines
268 B
Python
12 lines
268 B
Python
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")
|