QRCode Generator

Python19 lines· A console script that asks for a website/URL, encodes it into a QR code, and saves the image to the static folder as qrcode.jpg.
Original project by @SubramanyaKS — view source on GitHub
Ready when you are
README· what to build

QRCode Generator

A console script that asks for a website/URL, encodes it into a QR code, and saves the image to the static folder as qrcode.jpg.

Example

Enter the website you need to make QR Code
https://github.com

The script encodes https://github.com into a QR code image and saves it to static\qrcode.jpg with no further output.

How to run on localhost

pip install qrcode pillow
python main.py

Dependencies

  • qrcode
  • pillow
qr.py· Python 3.x
19 lines
Console· terminal