'Split PDF into multiple files based on QR code

I have a scanned pdf which consists of combined answer scripts of students for given exam. In the last page of every student's answer script, they will be a qrcode which uniquely identifies the student.

How to split the pdf based on qrcode & save each answer script as separate pdf?



Solution 1:[1]

I think you can use PyPDF2 library for your usecase ,the documentation is available here . Link

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Arun