Remove Watermark from PDF using PythonScript

Hi,

I have tried a python script to remove the water mark on PDF. I have no knowledge in Python. I’m not sure where my script has gone wrong, I’m getting the output PDF with the watermark.
Sample.pdf (65.6 KB)
can you please provide any sample references.