1import qrcode
2qr = qrcode.QRCode(
3 version=1,
4 error_correction=qrcode.constants.ERROR_CORRECT_L,
5 box_size=10,
6 border=4,
7)
8qr.add_data('Some data')
9qr.make(fit=True)
10
11img = qr.make_image(fill_color="black", back_color="white")
12
1please subscribe my channel - https://bit.ly/2Me2CfBZZ
2
3import pyqrcode
4import png
5
6website = "https://bit.ly/2Me2CfB"
7
8q = pyqrcode.create(website)
9q.png('qr.png')
1import pyqrcode
2url = pyqrcode.create('http://uca.edu')
3url.svg('uca-url.svg', scale=8)
4print(url.terminal(quiet_zone=1))