kristofer a révisé ce gist . Aller à la révision
1 file changed, 1 insertion, 1 deletion
qrcodepy.md
@@ -13,6 +13,6 @@ s = "https://zipcodewilmington.com" | |||
13 | 13 | ||
14 | 14 | url = pyqrcode.create(s) | |
15 | 15 | ||
16 | - | # Create and save the png file naming "myqr.png" | |
16 | + | # Create and save the SVG file naming "zcwqrcode.svg" | |
17 | 17 | url.svg("zcwqrcode.svg", scale = 8) | |
18 | 18 | ``` |
kristofer a révisé ce gist . Aller à la révision
1 file changed, 1 insertion, 2 deletions
qrcodepy.md
@@ -1,7 +1,6 @@ | |||
1 | 1 | `pip install pyqrcode` | |
2 | 2 | ||
3 | - | ||
4 | - | Now let’s see how to create a QR Code with Python programming language: | |
3 | + | How to create a QR Code with Python: | |
5 | 4 | ||
6 | 5 | ```python | |
7 | 6 | import pyqrcode |
kristofer a révisé ce gist . Aller à la révision
1 file changed, 19 insertions
qrcodepy.md(fichier créé)
@@ -0,0 +1,19 @@ | |||
1 | + | `pip install pyqrcode` | |
2 | + | ||
3 | + | ||
4 | + | Now let’s see how to create a QR Code with Python programming language: | |
5 | + | ||
6 | + | ```python | |
7 | + | import pyqrcode | |
8 | + | from pyqrcode import QRCode | |
9 | + | ||
10 | + | # String (URL) to make into QR code | |
11 | + | s = "https://zipcodewilmington.com" | |
12 | + | ||
13 | + | # Generate QR code | |
14 | + | ||
15 | + | url = pyqrcode.create(s) | |
16 | + | ||
17 | + | # Create and save the png file naming "myqr.png" | |
18 | + | url.svg("zcwqrcode.svg", scale = 8) | |
19 | + | ``` |