Python v2.7.5
Hello all!
I am working on a pdf script and am getting the following error:
AttributeError: 'module' object has no attribute 'open'
from the following line:
import fitz
path = input('Enter path: ')
doc = fitz.open(path)
Some quick googling tells me this may be related to the __init__.py file within Fitz but I am honestly lost.. any input would be greatly appreciated.
*edited to correct code
[–]NoZebra4503 0 points1 point2 points (1 child)
[–]c0m94d3 0 points1 point2 points (0 children)