zeiterfassung/playgound.py

12 lines
242 B
Python

from nicegui import ui
import segno
string = ""
for i in range(1000):
string += str(i)
qr_code = segno.make_qr(string).svg_data_uri()
#qr_code.save("qr_code.png", scale=5, border=0)
ui.image(qr_code)
ui.run(language="de-DE", port=9000)