QR Code with Python

The most simplest python program to create a QR code

To get started open your terminal or command prompt and write a command – pip install pyqrcode

# Import pyqrcode
import pyqrcode

number = "8587992208"
qcode=pyqrcode.create(number)
qcode.png("tmb.png", scale=8)
qcode.show()

#Output

Default image
Aman Kharwal

I am a programmer from India, and I am here to guide you with Data Science, Machine Learning, Python, and C++ for free. I hope you will learn a lot in your journey towards Coding, Machine Learning and Artificial Intelligence with me.

Leave a Reply

Data Science | Machine Learning | Python | C++ | Coding | Programming | JavaScript