A simple Python script to generate QR codes using the qrcode
library.
π·π»π±
This script creates a QR code that links to my GitHub profile. It demonstrates:
- Basic usage of the
qrcode
library - Customization options (size, colors, borders)
- Saving the generated QR code as a PNG image
- Install dependencies:
pip install qrcode[pil]
- Run the Script python qr.py
- The QR will be saved as 'githubimg.png' in your working directory
##βοΈ Customization You can easily modify the script to: π»ππ³
- Change the target URL
- Adjust the QR code size (box_size)
- Change colors (fill_color, back_color)
- Modify the border size
β€οΈ Install any QR scanner app on your phone or device.β€οΈ
πΌοΈ Scan the QR code π³