Generating QR Codes with Python

 Install the required module:

pip install qrcode

 

Upon running the script the image is generated in the same directory.

import qrcode

qr = qrcode.make("https://www.jaimedcsilva.com")
qr.save("jaimedcsilva.png")

 




12 Feb. 2026 | Last Updated: 12 Feb. 2026 | jaimedcsilva

Related
  • Printing CMD with colors
  • Calculating & Displaying crypto currency with CoinGecko
  • Creatin an .exe file to run a Python script
  • Getting certificate chains from websites
  • Getting the complete trustchain of a website
  • Installing pip in embedded Python - Full Guide
  • Cython - Hiding Python Code
  • How to Send Emails with Python’s smtplib
  • Generating QR Codes with Python

  • Buy Me a Coffee