I am trying to merge two PDFs using PyPDF2. Sometimes I run into the following error:
[WinError 32] The process cannot access the file because it is being used by another process:
How can I determine which process is using the file?
Thank you
I am trying to merge two PDFs using PyPDF2. Sometimes I run into the following error:
[WinError 32] The process cannot access the file because it is being used by another process:
How can I determine which process is using the file?
Thank you
You might have already tried this, but try to find the handle or the DLL ; a dialogue box will open and allow you to search for the missing file. If you want to open a file in Python, search up a file handling cheat-sheet. It doesn't require any importing of modules, just the Open() function. Glad to help if i did