Closed bilalkhann16 closed 3 years ago
Rename the function, see also #217
import qrcode
def make_qrcode():
img = qrcode.make('https://youtube.com')
img.save('first-image1.png')
Thanks, it worked. I was literally stuck for half an hour trying to figure out ):
I'm trying to generate QR Code in Flask web app but my code is throwing this error. I've already installed qrcode and pillow.