Unable to read pdf files with strange filenames. For instance, I have pdfs with filenames [author1;author2;authorN]_pdf_title_(comment).pdf Every time I try to read a file it throws an error of "unexpected escape string". Opening the pdf in binary mode with open('file', 'rb') works just fine.
Unable to read pdf files with strange filenames. For instance, I have pdfs with filenames
[author1;author2;authorN]_pdf_title_(comment).pdf
Every time I try to read a file it throws an error of "unexpected escape string". Opening the pdf in binary mode withopen('file', 'rb')
works just fine.