Looking for "b_" from PyPDF2-1.27 in newer PyPDF2 #1472
Answered
by
MartinThoma
pauljohn32
asked this question in
Q&A
-
I have some old code that imports the text stream and then replaces some characters and writes it out as new PDF. The code uses a hidden method "b_" to do that. That's not in the newer PyPDF2 code base. Can you help with some porting guide info? We have an import like this now:
And in the content, we are using that to detect the input type and then revise it. |
Beta Was this translation helpful? Give feedback.
Answered by
MartinThoma
Dec 5, 2022
Replies: 1 comment 4 replies
-
You have a good point - we should add that to the migration guide 👍 Do you want to add it? #986 (comment) - this is how you do it |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
pauljohn32
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have a good point - we should add that to the migration guide 👍 Do you want to add it?
#986 (comment) - this is how you do it