Найти - Пользователи
Полная версия: Cannot find reference 'QRCode' in '__init__.pyi'
Начало » Python для новичков » Cannot find reference 'QRCode' in '__init__.pyi'
1
Arabastft
import qrcode

url = "https://www.facebook.com

file_path = ”C:\\Users\\hello\\Desktop\\qrcode.png“

qr = qrcode.QRCode()
qr.add_data(url)

img = qr.make()
img.save(file_path)

print(”QR Code was generated!")

В чем проблема?
kayakhaggis
Arabastft
gd
Which Python version are you using?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB