Added SVG text printing to Python demo program, to match C++ and Java demo programs.

This commit is contained in:
Project Nayuki 2017-04-24 20:44:58 +00:00
parent b0123fee3d
commit b6b2bddb59
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ def do_basic_demo():
errcorlvl = qrcodegen.QrCode.Ecc.LOW # Error correction level
qr = qrcodegen.QrCode.encode_text(text, errcorlvl)
print_qr(qr)
print(qr.to_svg_str(4))
def do_variety_demo():