qrcode · PyPI
pypi.org › project › qrcodeOct 01, 2021 · import io import qrcode qr = qrcode. QRCode qr. add_data ("Some text") f = io. StringIO qr. print_ascii (out = f) f. seek (0) print (f. read ()) The add_data method will append data to the current QR object. To add new data by replacing previous content in the same object, first use clear method: import qrcode qr = qrcode.
qrcode · PyPI
https://pypi.org/project/qrcode01.10.2021 · What is a QR Code? A Quick Response code is a two-dimensional pictographic code used for its fast readability and comparatively large storage capacity. The code consists of black modules arranged in a square pattern on a white background. The information encoded can be made up of any kind of data (e.g., binary, alphanumeric, or Kanji symbols) Usage