import qrcode # 生成二维码img = qrcode.make(data="你好") # 将二维码保存为图片with open('test.png', 'wb') as f: img.save(f)
確定! 回上一頁