qrcodepy.md
· 371 B · Markdown
Eredeti
`pip install pyqrcode`
Now let’s see how to create a QR Code with Python programming language:
```python
import pyqrcode
from pyqrcode import QRCode
# String (URL) to make into QR code
s = "https://zipcodewilmington.com"
# Generate QR code
url = pyqrcode.create(s)
# Create and save the png file naming "myqr.png"
url.svg("zcwqrcode.svg", scale = 8)
```
pip install pyqrcode
Now let’s see how to create a QR Code with Python programming language:
import pyqrcode
from pyqrcode import QRCode
# String (URL) to make into QR code
s = "https://zipcodewilmington.com"
# Generate QR code
url = pyqrcode.create(s)
# Create and save the png file naming "myqr.png"
url.svg("zcwqrcode.svg", scale = 8)