This Python script uses the PyPDF2 library to crop PDF pages to A4 size. It allows you to specify an input PDF file and generates an output PDF file with all pages cropped to A4 dimensions.
Sometimes, PDF files may contain pages that are not in the standard A4 size (595.276 x 841.890 points). This script helps you standardize the page size by cropping all pages to A4 dimensions.