Jun-11-2022, 11:40 PM
(Jun-11-2022, 10:34 AM)snippsat Wrote: This loop can be written better,often called more pythonic
Thank you.
(Jun-11-2022, 10:34 AM)snippsat Wrote: Ther
is not the problem,it's used soescape characters
dos not mess up folder name when use singel\
in path names on Windows.
Thanks for explaining and the example. But do I need to code like that if I only use Linux ? Also I'm a bit more leaning towards parsing arguments rather than hard code in the filename (like I have over 2,600 PDF files)
As an aside, I came across a tool called ocrmypdf . It converted a PDF that was 'unsearchable' and added the necessary text layer to make it searchable. I see it is written in Python.