Monday, 22 April 2024

1. QR CODE CREATION


# How To Create A QRCODE Of Any Value Like (Hello,Manan) Or (1010) Or Any Social Link And Any Vedio Or Image.


 First you install the "qrcode library" in pythone. so you run a command in PC cmd is.

                     pip install qrcode

And Next Run This Code  In Pythone.

import qrcode as qr

img = qr.make("""!! Abdul Rehamn Javed Manj \n
               He Is A Godd Boy \n
               He Is In 13 Class \n
               He Is A Good Player Of Cricket""")
img.save ("Maniqrcode.png")


import qrcode as qr

img = qr.make("https://abpythonwork.blogspot.com/")

img.save("blog.png") 


NOTE :


import qrcode as qr 

import   basically is used to extract the  qr code library or his function.

qr code   he is library.

as qr  means short name of qrcode is qr.

img he is represent the name . you represent any name like this (a or b or c or etc...)


qr.make("https://abpythonwork.blogspot.com/")  

basically qr means  is qrcode short name or .make is means creat a code and ("https://abpythonwork.blogspot.com/") means a my blog link that i am creat a qr code so.


img.save("blog.png")

basically img is represent a  name and .save  is used to save this code that i can creat and      ("blog.png") is means is name of file that save a qrcode.

_________

I CAN MAKE QRCODE IS


____________


No comments:

Post a Comment

MAKE A CALANDER

  # 1.  convert calander year and month. your choice month or year , print while True :   import calendar   year = int ( input ( "P...