This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyPDF2 import PdfFileReader, PdfFileWriter | |
from PyPDF2.pdf import ContentStream | |
from PyPDF2.generic import TextStringObject, NameObject | |
from PyPDF2.utils import b_ | |
wm_text = 'Persönliches Exemplar von' | |
replace_with = '' | |
# Load PDF into pyPDF | |
source = PdfFileReader(open('input.pdf', "rb")) |
OlderNewer