Jun-11-2022, 05:56 AM
Seems that it still is a 'file not found' problem.
Maybe try this:
Maybe try this:
import os path_to_pdf = os.path.join('c:\data' , 'pdfdir', 'pdfsubdir','mypdf.pdf') Now your file is always found by using the variable path_to_pdfPaul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.