Hmne Qrcode ko import karke one of the function use Kiya....or isme dusre kitene function hai wo kaise pata chalenga...and other one is isme aapne bataya uske Siva or bhi .mathods honge is module me??
Sir jese apne QRcode module import kiya h or usme add_data, make or image k liye method available h vo agar nhi pta h to kese find kre usko ki itni sari method available h QRcode module m
import qrcode qr=qrcode.QRCode( version=15, box_size=10, border=5 ) data = "ruclips.net/user/Codeyug" qr.add_data(data) qr.make(fit=True) img=qr.make_image(fill="black",back_color="white") img.save('text.png') ERROR: Traceback (most recent call last): File "f:\qrprogram\qrcode.py", line 1, in import qrcode File "f:\qrprogram\qrcode.py", line 3, in qr=qrcode.QRCode( ^^^^^^^^^^^^^ AttributeError: partially initialized module 'qrcode' has no attribute 'QRCode' (most likely due to a circular import). Did you mean: 'qrcode'? Sir, can you please find what i am doing wrong ?
Hello Sir, I am facing some error Here is my code- import qrcode qr=qrcode.QRCode( version=15, box_size=10, border=5 ) data="@www.youtube.com/@HarshSaxenaReal/featured" qr.add_data(data) qr.make(fit=True) img.save('image.png') here is error- C:\Users\Harsh Asus\Desktop>python examplee.py Traceback (most recent call last): File "C:\Users\Harsh Asus\Desktop\examplee.py", line 10, in "img".save('image.png') ^^^^^^^^^^ AttributeError: 'str' object has no attribute 'save' C:\Users\Harsh Asus\Desktop> please help me @codeyug
Please check my code and compare... You will get it. Img is the object which we get from make_image function.. That particular line is missing from your code.
You deserve more than 100k subscriber..keeb going bro.... . Love from Bangladesh bro ...
Yess...thank you🤘
OP explanation
super
I did it. Thank You
Great!
Thank you brother 🙏
Welcome! and please do share
you thaught me something new to me
thank you
this video make me to subscribe to your channel
thank u
hii,thank you for valuable comment and please share this channel with your friends..
@@Codeyug sure
I am your old Suscriber and you are doing amazing work...
Yess...thank you
Oop series is there
Bro your channel is great, i subscribed 🙏
Just amazing 👏 ❤😊
Wow
Too good 👍
Thanks..
Awsmm bro.. Keep it up..
Thank you sir please can you make a turtorial series for telegram bot
well explained🙌🙌
You will fall in love with our Python playlists..
@@Codeyug you are right
Sur jab mai cmd mai pip install qrcode type kr rhi hu to kuch aisa aa rha h `pip` is not recognised as an internal or external commands,
Hmne Qrcode ko import karke one of the function use Kiya....or isme dusre kitene function hai wo kaise pata chalenga...and other one is isme aapne bataya uske Siva or bhi .mathods honge is module me??
Latest short dekho shorts me jake...
Thank for reply I got the answer ☺️
Sir qr code generate ho gya but mobile se scan krne se vdo ply nhi ho paa rha h reply me
i didn't get the output image hence the file is still in the .py format and no image is there with that kindly help me
Send mi code on my insta account.. Link in about section
How to hide url and as we run qrcode it will directly start the video
You can import and there are many ways
i import qrcode but on qrcode it shows error that no module exists
Install with PIP tool..
i installed first then import but still showing error
@@Codeyug
@@tajweedequraan-888 send screenshot to me pn insta. Link you will get in about section
Desktop is not recognised internal and external command operable or batch file bata raha
you have to change the path using cd command to directory of your python script. If everything is done correctly, please share more details.
Very good explanation 👌
Thank you
qr = qrcode.QRCode(version = 15, box_size = 10, border = 5)
data = 'ruclips.net/video/unFF09PoGkA/видео.html'
qr.add_data(data)
qr.make(fit = True)
qr.make_image(fill = "black", back_color = "white")
img.save('text.png')
img.show()
Not running on python 3.11
Sir i got error. Error name is ModuleNotFoundError named 'Image' but i have already install qrcode package plz reply me
Pip upgrade karo aur firse install karo qo module..
@@Codeyug sir qr code ka size increases nhi ho paa rha h plz reply me
Plz tell me how to generate 2D data matrix in python
I will create video on this soon..
Sir in command prompt it is showing can't open the file,
Check my code again.. This should not happen
No module image is showing sir ??
Paste here program..
Error face
Syntaxerror: invalid syntax. Perhaps you forget a comma?
it's syntax error, you have done some mistake. find and correct
brother, It throws the error : AttributeError: 'NoneType' object has no attribute 'save' please tell me ?
Please paste here your code...
@@Codeyug It is not full code just 3 lines
import qrcode
img = qrcode.make("GeeksforGeeks")
img.save("image.png")
@@vaibhavverma1340 it's a make_image() function I guess...
@@Codeyug from where I can write????
@@vaibhavverma1340 check my code please...
Sir aapne to apna you tub channel se data ka link liya h ham log kaha se le
Koi bhi web link use kr sakte ho app.. RUclips ke web app pe redirect kr do
I didn't get the image
Hlo sir kya muje iska code mil sakta h
I don't have the code now as video is old and I lost all old data.
Sir jese apne QRcode module import kiya h or usme add_data, make or image k liye method available h vo agar nhi pta h to kese find kre usko ki itni sari method available h QRcode module m
By using dir() in global scope...
Hello sir interview dikhath aarahi hai pls help chahiye mujye 🙏🙏
Hi.. Please tell me..
Sir no. dijiye aapka mai bathaungi aapko 🙏🙏
@@aartipawar2259 mail me your queries or send me your number if so urgent..
i think it's fill_color* insted of fill
Code is not working
Just debug it bro..there can be changes in QR module. What's the error
Sir qrcode module download nhi ho rha hai and pip list error bta rha hai
Install latest fresh version of python
import qrcode
qr=qrcode.QRCode(
version=15,
box_size=10,
border=5
)
data = "ruclips.net/user/Codeyug"
qr.add_data(data)
qr.make(fit=True)
img=qr.make_image(fill="black",back_color="white")
img.save('text.png')
ERROR: Traceback (most recent call last):
File "f:\qrprogram\qrcode.py", line 1, in
import qrcode
File "f:\qrprogram\qrcode.py", line 3, in
qr=qrcode.QRCode(
^^^^^^^^^^^^^
AttributeError: partially initialized module 'qrcode' has no attribute 'QRCode' (most likely due to a circular import). Did you mean: 'qrcode'?
Sir, can you please find what i am doing wrong ?
Hello Sir, I am facing some error
Here is my code-
import qrcode
qr=qrcode.QRCode(
version=15,
box_size=10,
border=5
)
data="@www.youtube.com/@HarshSaxenaReal/featured"
qr.add_data(data)
qr.make(fit=True)
img.save('image.png')
here is error-
C:\Users\Harsh Asus\Desktop>python examplee.py
Traceback (most recent call last):
File "C:\Users\Harsh Asus\Desktop\examplee.py", line 10, in
"img".save('image.png')
^^^^^^^^^^
AttributeError: 'str' object has no attribute 'save'
C:\Users\Harsh Asus\Desktop>
please help me @codeyug
Please check my code and compare... You will get it. Img is the object which we get from make_image function.. That particular line is missing from your code.
@@Codeyug I did many time, could not find, please help me sir