How to Solve NameError: name 'PDFDoc' is not defined -- PDFNetPython3
Solution: Import the 'PDFDoc' module
To Solve the error, add the following line to the top of your code.
from PDFNetPython3 import PDFDoc
For more information:
Python PDFNetPython3 PDFDoc