This Python project generates QR codes from URLs using the qrcode library. The generated QR codes are saved as PNG files.
- Generate a QR code from any URL.
- Customize the output file name.
- Simple command-line interface.
- Python 3.x
qrcodelibrary (install via pip)
-
Clone the repository or download the script:
git clone https://github.com/AmrasYavetil/QRtoWebpage.git
-
Install the required Python package:
pip install qrcode
-
Run the script:
python qrcode_generator.py
-
Enter the URL when prompted:
Enter the URL to encode in the QR code: https://example.com -
Enter a name for your QR code image:
Enter the name for your QR Code PNG (file extension .png will be added for you): my_qrcode -
The QR code will be generated and saved as
my_qrcode.pngin the current directory.
Running the script and entering https://example.com as the URL with my_qrcode as the file name will produce a file named my_qrcode.png in the same directory.
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to submit issues or pull requests if you have any improvements or ideas!