QR code generator

Generates a QR code for your URL.

2/8/20251 min read

Code:

#Import libraries
import qrcode

#You give the code a command to make a image for the string
#example for URL: ("monkeybuilds.net")
#example for text:("my ice cream tastes good")
img = qrcode.make("monkeybuilds.net")
#You give the code a command to save the image in a PNG file
img.save("mycode.png")

Sample output: