Replies: 1 comment
-
Hi @rajban94 Appreciate your interest in the library. The open function does indeed closes the file as you can see at Line 89 in f9c1f61 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the try block i have wrote with pdfplumber.open(pdf_file) as pdf but as the pdf file is corrupted it is throwing error in the except block now how can i close that pdf in order to move that pdf to another folder because whenever i tried using os module inside the except block it is showing me permission error that the pdf is used in another process just because the pdf is not closed. If you can give me an idea or code block that will help me to get rid of this problem.
Beta Was this translation helpful? Give feedback.
All reactions