How to Generate QR Codes Using Python

QR codes are useful for sharing website links, text, contact details, and other information. You can scan them using a smartphone camera to access the stored information.

In this tutorial, we’ll learn how to create a simple QR code generator using Python. We’ll ask the user to enter some text or a website URL, generate a QR code, and save it as a PNG image.

We’ll use the Python qrcode package to generate the QR code. You don’t need advanced Python knowledge to follow this tutorial.

Prefer watching a video tutorial?

If you prefer learning by watching, check out my YouTube tutorial. I’ll walk you through the process of creating a QR code generator using Python.

Watch the tutorial on YouTube

How to Generate QR Codes Using Python

Read more

How to Build a WordPress Duplicate Post Plugin Using Claude Code

Two prompts. A working plugin. Here’s exactly what I typed, what came back, and whether I’d do it again.

I’ve been curious about AI coding tools for a while — not in a “let’s replace developers” way, but in a practical sense. Can they actually save time on real projects? Or do you spend more time fixing the output than you would have spent writing it yourself?

So I picked a real project I needed done anyway — a WordPress plugin that adds a one-click “Duplicate” button to posts and pages — and I built the whole thing using Claude Code. No starter code, no templates. I just described what I wanted and watched what happened.

Here’s the full breakdown: the prompts I used, the code that came out, and what I actually think of the experience.

How to Build a WordPress Duplicate Post Plugin Using Claude Code

Read more

I Built a WordPress Plugin with Claude Code – Here’s What Actually Happened

Copying a post ID in WordPress means opening the editor, looking at the URL, and picking the number out of ?post=. It works. It’s also mildly annoying every single time you do it.

So I built a plugin that puts a Copy ID button directly in the Posts and Pages list. One click — ID is in your clipboard. And I built the whole thing using Claude Code, start to finish.

Here’s exactly how it went, including the prompts I used.

Read more

TCPDF Was Adding a Second Page Silently – Here’s What Caused It and How I Fixed It

A user reported that their certificate was printing two pages instead of one. No error. No warning in the logs. Just a blank second page with some content on it that was supposed to be on page one.

That’s the worst kind of bug — silent, visual, and impossible to reproduce until you understand exactly what triggered it.

TCPDF Adding an Extra Page Automatically — The Rendering Loop Bug

Read more