import qrcode img = qrcode.make("https://qleap.dev") img.save("qr.png", "PNG")