Python generates QR code, python
# Coding: utf8try: import qrcode0000t ImportError: qrcode = Noneclass MakeQr: def onUseQrcode (self, value): qr = qrcode. QRCode (version = 1, box_size = 10, border = 4) qr. add_data (value) qr. make (fit = True) x = qr. make_image () img_file = open ("1.jpg", 'wb') x. save (img_file, 'jpeg ') img_file.close () print' OK 'if _ name _ =' _ main __': value = "http://www.baidu.com" makeQr = MakeQr () makeQr. onUseQrcode (value)
How to Use python to parse the QR code?
Google has such a service using third-party APIs.
Software and solutions for generating QR codes
1. The label matrix printing software can generate two-dimensional bar codes. It depends on the code system you need. If you think it is not easy to use, you can use other bar code printing software.
2. A two-dimensional barcode scanner is required for scanning. A one-dimensional barcode scanner cannot be decoded.
3. It can be implemented through the database.
Shenzhen varenze Electronic Co., Ltd. is a professional bar code company.