qr-code-generator
所属分类:自动编程
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2024-03-20 04:31:37
上 传 者:
sh-1993
说明: qr码发生器
(qr code generator)
文件列表:
main.py
# QR Code Generator
#### Project Showcase: https://www.youtube.com/watch?v=ovBsBfQjYH0&ab_channel=Saad%27sCodingProjects
This Python script generates a QR code for a given URL.
## Prerequisites
- Python 3.x
- `qrcode` library
- `PIL` (Python Imaging Library)
## Installation
You can install the required libraries using pip:
```bash
pip install qrcode
```
## Usage
1. Clone the repository:
```bash
git clone git@github.com:TheSaadster/qr-code-generator.git
```
2. Navigate to the cloned directory:
```bash
cd qr-code-generator
```
3. Run the script `main.py`:
```bash
python main.py
```
4. Enter the URL when prompted.
5. The script will generate a QR code image named `qrcode.png` in the same directory as the `main.py` file.
近期下载者:
相关文件:
收藏者: