How to crate your own QR code and embed any link in it !
First of all thanks guys if you are reading this blog, in this blog we will be discussing about how to create our own Quick Response (QR) code and to for this small project we will be using Python Programming language since my blog is all about python 😁.
Ok so before we dive into this project lets first understand a little about this QR code this thing what is this ? how it become so use full in modern world etc. etc. etc.
What is QR code ?
A QR code is first invented by an Japanese automotive company named Denso Wave. After since it become so popular. Its because this image or in which it will be generated it can store a huge amount of data only in machine readable form. Its similarity matches to the barcode because both of them have black and white lines randomly in them. Using QR code we can track products, we can make easy payments, also can book our ticket online in one word it's safe to share information using the bar QR code. Generally if you guys don't know how a QR code looks like don't worry, here is how it looks like, and i also embedded my blog link in it so if you will scan (using any scanner) it will automatically open up the blog in your browser. Try it if you want ! and if not don't worry we will discuss it ahead in our blog.
So how to use python to generate a QR code !
To do this we will use the QR code library of the Python.
So install it using pip install qrcode.
After installing the library import it "import qrocode".
so the whole code looks something like this,
Comments
Post a Comment