Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import qrcode
- website_link = 'https://www.python.org/downloads/'
- qr = qrcode.QRCode(version = 1, box_size = 5, border = 5)
- qr.add_data(website_link)
- qr.make()
- img = qr.make_image(fill_color = 'black', back_color = 'white')
- img.save('qrcode_picture.png')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement