This Python script generates a QR code for a given website link using the qrcode
library. The script creates a QR code image in PNG format and displays it using the PIL
(Python Imaging Library).
- Generate QR codes for website links
- Customize QR code appearance
- Save QR code images locally
-
Install required libraries:
pip install qrcode[pil]
-
Run the script:
python code.py
-
The script prompts for a website link.
-
It generates a QR code image (
qr_code_image.png
) and displays it.