A few days ago, I was organizing financial documents together with my accountant. During the process, we discovered a huge pile of e-invoices that needed printing—mostly from platforms like Amazon, Cloudflare, Tencent Cloud, etc. There were more than sixty PDF invoices alone, and printing them one by one was just too tedious.
The accounting software my accountant was using could only handle a maximum of 9 invoices at a time, so some would often be missed. He asked me if there was a more convenient way.
I said, “This is easy.”
As a software developer, my first instinct for small tasks like this isn’t to search online for tools—it’s to write one myself.
So, I spent about half an hour writing a small Python program. Its function is simple: batch select PDF files and merge them into a single PDF. This way, printing only requires one operation, and all invoices can be printed in one go.
The source code is on GitHub: https://github.com/duguankui/code-samples/tree/main/MergePdfs
The whole project only has one source file, which also reminds me how lightweight and efficient Python is for small tasks like this.
Currently, my accountant is already using it and the feedback has been very positive.
Of course, this is just a small tool, not a formal commercial software, so there are a few minor drawbacks:
If you’re interested, you can improve it yourself, or if you want me to add features, feel free to reach out.
At Dignite, we believe—every small improvement is a step toward higher digital efficiency.
Tools like this may be simple, but they can truly make daily work more convenient.