How to create your QRCode with Python !!!

Words
62
Reading
1 min
5y
Listen to this post
~1 min

Hello guys this is my 1st post in STEMGeeks community,

and I will show you how to create your own QRCode with Python in 7 lines only!

import qrcode

input_data = " paste here the link from the websit you want to convert into a qrcode "

qr = qrcode.QRCode(version=1, box_size=10, border=5)
qr.add_data(input_data)
qr.make(fit=True)
img = qr.make_image(fill='black', back_color='white')
img.save('qrcode001.png')

and this is my QRCode of my profile from hive.blog

qrcode001.png


Screenshot_93.png


I use the Visual Studio Code for the Python programming language


~FIND ME HERE~

Odysee
Hive.blog
PeakD
Lbry.tv
YouTube
D.tube
Facebook
Instagram
Twitter


How to create your QRCode with Python !!! | Ecency