A simple Python script that generates a QR code from any URL and saves it as a PNG image.
- Python 3.x
Clone the repository:
git clone https://github.com/cjmaybe/qrcode.git
cd qrcodeInstall the required package:
pip install qrcode[pil]Run the script:
python main.pyEnter the Your URL:
Enter the URL: https://maybecj.web.app
Enter a file name (with the .png extension):
Enter file name (with extension): example.png
The QR code will be saved in the current directory as:
example.png
qrcode
├── main.py
├── README.md
└── LICENSE
Inspired by the Python tutorial from the Bro Code YouTube channel. Click here
