▶️ Watch Entire Kivy Playlist ✅ Subscribe To My RUclips Channel: bit.ly/37LrJ27 bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN ▶️ Get The Code bit.ly/3qkAqqQ
this is just so amazing. I am a 16 year old kid who is trying to learn how to code and your videos are helping me soo much. Your explanations are the best
For every Button, one can also do on_press: root.button_press(self.text) since "self" under each "Button" refers to the Button in question in each case. Great video series!
Keep going keep going man ! ... Such a GREAT person like you must be known by everyone .. You started to teach and help people and didn't stop and now look you have the GREATEST AND BIGGEST tkinter course on the internet and it's FREE .. and you didn't even stop you also making kivy with your usual passion on your beautiful face .. I really couldn't help not to write this message for you .. Oneday you will get what you deserve for all what you did for people and students like me for free ..
Thank you for the awesome tutorials! One thing to note; the current code does not allow for two floats in the same equation because of the conditional to do nothing if there exists a "."
You can combine numbers and symbols into one function as well, just pass in the symbol/numper with the function in the function call. and the function should just add the variable to the end of the string, almost as you have done :)
If you want to clean it up a little, you could change: def remove(self): prior= self.ids.calc_input.text prior = previous[:-1] self.ids.calc_input.text = previous to this instead so it will replace the 0 when you remove the last character or sign: def remove(self): prior= self.ids.calc_input.text prior= previous[:-1] if previous == "": self.ids.calc_input.text = "0" else: self.ids.calc_input.text = previous
Great video tutorial on Kivy. I just learned Python and would love to put a GUI on my app projects. There is one thing that I would like to do in your calculator app. Affter validating the result by pressing the = button, can you code it so that the inputbox is cleared when a new number is entered to start a new calculation? In other words, eliminate extra press of 'clear' button. Thank you.
@@Codemycom OK, I finally found the solution: create a bool property; set it to True after pressing the '=' button; fix the values of the buttons accordingly when entering new formula to compute. Works like a charm now..
Woww. This is awesome. Bro there is a small bug. How to fix it? If we want to the calculation like 2.5 + 2.5 we can't do this. Coz we have written the code before in our dot() function. So that it won't allow to have multiple decimal point numbers. What to do in this case? Looking forward your reply. Thank you.
One thing I noticed is with the +/- button, if I enter 25-6-2, and press the +/- button, the textbox now becomes 2562. Something I'll try to figure out.
how does the computer know when you add a negative number to a positive one. You write -3+5. As far as Python knows, that should be -8. What am I missing?
@@CodemycomWhat I meant was: you said you are adding the minus just as a string and it is in qutation marks. So you are not adding -5 to 3. You are adding minus + five + 3. So as far as Python knows, it should give you an error right? Or -53
▶️ Watch Entire Kivy Playlist ✅ Subscribe To My RUclips Channel:
bit.ly/37LrJ27 bit.ly/2IGzvOR
▶️ See More At: ✅ Join My Facebook Group:
Codemy.com bit.ly/2GFmOBz
▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
▶️ Get The Code
bit.ly/3qkAqqQ
this is just so amazing. I am a 16 year old kid who is trying to learn how to code and your videos are helping me soo much. Your explanations are the best
Very cool, glad you like them!
For every Button, one can also do
on_press: root.button_press(self.text)
since "self" under each "Button" refers to the Button in question in each case.
Great video series!
yep
I was trying to figure out a way to do that better, awesome suggestion thanks!!
Exactly, and the same with the period. After all, what we are passing to the equals function is just a string.
Keep going keep going man ! ... Such a GREAT person like you must be known by everyone .. You started to teach and help people and didn't stop and now look you have the GREATEST AND BIGGEST tkinter course on the internet and it's FREE .. and you didn't even stop you also making kivy with your usual passion on your beautiful face .. I really couldn't help not to write this message for you .. Oneday you will get what you deserve for all what you did for people and students like me for free ..
Thanks! I appreciate that!
Thank you for the awesome tutorials! One thing to note; the current code does not allow for two floats in the same equation because of the conditional to do nothing if there exists a "."
Yep, it’s a work in progress
You can combine numbers and symbols into one function as well, just pass in the symbol/numper with the function in the function call. and the function should just add the variable to the end of the string, almost as you have done :)
If you want to clean it up a little, you could change:
def remove(self):
prior= self.ids.calc_input.text
prior = previous[:-1]
self.ids.calc_input.text = previous
to this instead so it will replace the 0 when you remove the last character or sign:
def remove(self):
prior= self.ids.calc_input.text
prior= previous[:-1]
if previous == "":
self.ids.calc_input.text = "0"
else:
self.ids.calc_input.text = previous
Nice one, I can't wait for next video with Kivy.
Have you ever used PyQt5? I find Kivy much more user friendly. :)
Thanks again!
Yeah I'll be doing PyQT5 videos in the future.
Great video tutorial on Kivy. I just learned Python and would love to put a GUI on my app projects. There is one thing that I would like to do in your calculator app. Affter validating the result by pressing the = button, can you code it so that the inputbox is cleared when a new number is entered to start a new calculation? In other words, eliminate extra press of 'clear' button. Thank you.
Sure but I don't have a video on that...
@@Codemycom OK, I finally found the solution: create a bool property; set it to True after pressing the '=' button; fix the values of the buttons accordingly when entering new formula to compute. Works like a charm now..
@@koollucian awesome
Nice!
Thanks!
Huh this Kivy is hell. But very good practice.
Hi Professor I have a question.
For you which of Tkinter and Kivy must i learn?
I'm a student and I would like to start correctly.🤓
Sir we can use eval function, no need to create these functions just pass the equation to the eval function
There’s always infinite ways to do anything, these videos are aimed at beginners.
@@Codemycom Oh okay sir, Thanks for tutorials on kivy I wanted to learn this and i found no tutorials good.
@@dheerajd9965 glad to help
in the math sign function, can we pass self.text?? like math_sign(self.text). Thaks for the tutorials are awesome!
Yeah you can, if i'm not too late...
Woww. This is awesome.
Bro there is a small bug. How to fix it?
If we want to the calculation like 2.5 + 2.5 we can't do this. Coz we have written the code before in our dot() function. So that it won't allow to have multiple decimal point numbers. What to do in this case? Looking forward your reply. Thank you.
yeah we'll probably get to that
@@Codemycom ok brother. Thank you ☺️❤️
@@misfarsiddeek3105 We're just getting the basic functionality up at this point...once that's done we'll go back and fine tune everything.
@@Codemycom ok brother. Sure😊😊☺️☺️☺️
@Thakur Shubham singh thanks.
One thing I noticed is with the +/- button, if I enter 25-6-2, and press the +/- button, the textbox now becomes 2562. Something I'll try to figure out.
@@tomekbk1 "-24-6-2" ? Solution: +/- button must work only for single number but not for mathematical expression.
@@tomekbk1 another problem is prior.split("-") how did you resolve it?
@@tomekbk1 Thank you for the answer, now i try it.
how does the computer know when you add a negative number to a positive one. You write -3+5. As far as Python knows, that should be -8. What am I missing?
that's not how math works. -3 + 5 is 2. -3 + -5 is -8
@@CodemycomWhat I meant was: you said you are adding the minus just as a string and it is in qutation marks. So you are not adding -5 to 3. You are adding minus + five + 3. So as far as Python knows, it should give you an error right? Or -53
John, kindly make a Django beginner series First explain concepts and then put into the project.
I did already
I know it has been a while, but what is the editor? my ears coulnd't get it. Thank you o/
Sublime text editor and git bash terminal from git-scm.com
does Kivy apps work on Android ??
They can. You have to use Buildozer (pypi.org/project/buildozer/) to compile them to something that can run on Android.
yeah
yes
When did you do the -,X,/ functions? Where can I find it?
he did them last video quickly and in this video he combined them into a single python kivy function
Do you know someone who is hiring python developer. Your are a great content creator.
Thanks. No I don't know anyone who is hiring.
Sir..Please make a video on how to move sqllite data to any other database like MongoDB!