How Can We Help?

Generate a QR Code for a Text

Generate a QR Code for a Text

Scan the preceding QR code to see what it says.

import qrcode #Call the qrcode library

img = qrcode.make(‘Learn Python on mBlock-Python Editor!’) #Enter the content of the QR code

img.save(“text.png”) #Generate a file and store it on a local disk

Now, design your own QR code!