Lines Matching refs:qr
47 qr = QrCode.encode_text(text, errcorlvl)
48 print_qr(qr)
49 print(to_svg_str(qr, 4))
56 qr = QrCode.encode_text("314159265358979323846264338327950288419716939937510", QrCode.Ecc.MEDIUM)
57 print_qr(qr)
60 qr = QrCode.encode_text("DOLLAR-AMOUNT:$39.87 PERCENTAGE:100.00% OPERATIONS:+-*/", QrCode.Ecc.HIGH)
61 print_qr(qr)
64 …qr = QrCode.encode_text("\u3053\u3093\u306B\u3061\u0077\u0061\u3001\u4E16\u754C\uFF01\u0020\u03B1\…
65 print_qr(qr)
68 qr = QrCode.encode_text(
76 print_qr(qr)
85 qr = QrCode.encode_text(silver0 + silver1, QrCode.Ecc.LOW)
86 print_qr(qr)
91 qr = QrCode.encode_segments(segs, QrCode.Ecc.LOW)
92 print_qr(qr)
98 qr = QrCode.encode_text(golden0 + golden1 + golden2, QrCode.Ecc.LOW)
99 print_qr(qr)
105 qr = QrCode.encode_segments(segs, QrCode.Ecc.LOW)
106 print_qr(qr)
110 qr = QrCode.encode_text(madoka, QrCode.Ecc.LOW)
111 print_qr(qr)
145 qr = QrCode.encode_segments(segs, QrCode.Ecc.LOW)
146 print_qr(qr)
173 def to_svg_str(qr: QrCode, border: int) -> str:
179 for y in range(qr.get_size()):
180 for x in range(qr.get_size()):
181 if qr.get_module(x, y):
189 """.format(qr.get_size() + border * 2, " ".join(parts))