Advertisement
askanton

Генеруемо #QR Code на Python, в 4 рядки | Вивчаємо #python

Aug 10th, 2022
1,246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. import qrcode
  2.  
  3. data = 'https://www.youtube.com/channel/UCbC2A_T9yawQsvq6k7DDkGw/'
  4.  
  5. img = qrcode.make(data)
  6.  
  7. img.save('MyQRCode1.png')
  8.  
  9. # pip install Pillow
  10. # pip install qrcode
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement