This is a simple Python script that generates a QR code from a user-provided link and saves it as a PNG file with a user-specified title.
- Python 3.6 or higher
pyqrcode
librarypypng
libraryPillow
library
First, ensure you have Python installed. Then, install the required libraries using pip
:
pip install pyqrcode pypng pillow
-
Clone or download this repository to your local machine.
-
Open a terminal or command prompt and navigate to the directory containing the script.
-
Run the script:
python QR_generator.py
-
Enter the QR Code when prompted
-
Enter the title for the QR Code file when prompted
-
The QR code will be generated and saved as a PNG file with the specified title. The script will also display the QR code image and print a confirmation message
Here's an example interaction with the script:
Enter QR Code Link: https://www.example.com
Enter the title for the QR code file: ExampleQRCode
The script will save the QR code as ExampleQRCode.png in the current directory and display the QR code image.
This project is licensed under the GPL-3.0 License. See the LICENSE file for more details.