Way 1 : generate a transparent image watermarked PDF. The complete code is as follows:
import PyPDF2import mathfrom PIL import Image, ImageFont, ImageDraw…
We can recursively merge them and generate directories based on folders and file names, which is much easier to read.