Simple Python App with Kivy - Step by Step GUI Tutorial

Поділитися
Вставка
  • Опубліковано 14 лип 2024
  • Since so many of you guys have voted for Kivy Mobile App as our next GUI project - I thought it would be great to film a quick introduction to Kivy while you're waiting for the advanced project to be completed! 😁
    In this tutorial, we will create a Simple Greeting App, where we collect a name and return a "Hello" greeting!
    We will first place the all widgets on the interface, connect a callback function to our button and lastly we will add some styling to our app.
    ***********************************************
    👩‍💻 STARTER CODE 👨‍💻
    ***********************************************
    from kivy.app import App
    from kivy.uix.gridlayout import GridLayout
    from kivy.uix.label import Label
    from kivy.uix.image import Image
    from kivy.uix.button import Button
    from kivy.uix.textinput import TextInput
    class SayHello(App):
    def build(self):
    self.window = GridLayout()
    #add widgets to window
    return self.window
    if _name_ == "__main__":
    SayHello().run()
    ***********************************************
    ⭐ Timestamps ⭐
    ***********************************************
    00:00 - Intro
    00:26 - Install Kivy
    02:12 - GridLayout columns
    02:39 - Kivy Image Widget
    03:25 - Kivy Label Widget
    03:57 - Kivy Text Input Widget
    04:44 - Kivy Button Widget
    05:25 - Kivy Button Callback Function
    07:21 - Change Window Size
    08:27 - Label Widget Font and Color
    09:09 - Text Input Padding and Height
    10:30 - Button Height, bold text and background color
    11:12 - Fix darker button background color
    11:52 - Testing the App
    ***********************************************
    Simple Greeting App Github Repository:
    github.com/MariyaSha/SimpleGr...
    Kivy Documentation:
    kivy.org/doc/stable/
    ***********************************************
    🐍 Install Anaconda & Python 🐍
    • Install Python with An...
    ***********************************************
    Kiwi Background image came from freepik :
    www.freepik.com/free-vector/c...
    Thank you very much for the beautiful graphic! 🤩
  • Наука та технологія

КОМЕНТАРІ • 638

  • @SkNj-wc9fg
    @SkNj-wc9fg 3 роки тому +190

    I have never seen anybody explaining kivy python in such an interactive and short and sweet. Hats off

    • @PythonSimplified
      @PythonSimplified  3 роки тому +23

      Thank you so much! I'm super happy you liked my explanation! 😀
      By the way, I just posted the KivyMD Mobile App video I've been promising, if you want to see a sleeker version of Kivy 😉:
      ua-cam.com/video/ah3JeHAfM0M/v-deo.html

    • @markusParkus233
      @markusParkus233 2 роки тому

      Holy cow I was going to comment to say the same. Just the right fast pace.

    • @code-0x215
      @code-0x215 2 роки тому

      Respect pass💯

    • @user-lt2px3ft4p
      @user-lt2px3ft4p 15 днів тому

      You know what as you could explain coding very clearly and thus we could really learn and understand. Thanks a lot!

  • @thesouthsidedev1812
    @thesouthsidedev1812 3 роки тому +39

    That mechanical keyboard sound is super satisfying.

    • @driftFD
      @driftFD 3 роки тому +2

      does any one know which keyboard is she using?

    • @cunt5413
      @cunt5413 2 роки тому +1

      @@driftFD most likely Alienware AW510K

  • @mattlarsen
    @mattlarsen 3 роки тому +38

    This was my first introduction to Kivy and it taught me a lot. Simple implementation but great results. Thanks for the tutorial!

  • @bigdaddy5303
    @bigdaddy5303 3 роки тому +6

    Glad I stumbled across your channel. You are a superb teacher, so good at explaining things in an easy to digest manner. I've watched countless tutorials but your teaching style is making things stick. Thankyou and good luck with your channel!

  • @ledseblin
    @ledseblin 2 роки тому

    I am just getting into programming in general and your way of structuring code that otherwise would sit in one line is genius! Many thanks and greetings from Germany!

  • @neerajaggarwal8224
    @neerajaggarwal8224 3 роки тому +4

    I like the way you presenr - does not induce sleep like so many other tutorials.

  • @GabrielGcbs
    @GabrielGcbs Рік тому

    Simple, fast and nice video yet a complete introduction to Kivy. Absolutelly amazing, you rock!

  • @king-manu2758
    @king-manu2758 3 роки тому +1

    I was trying to make this work following the official docs but the way you do it is so different yet much better for me coming from Javascript. This is much more familiar to me than the stuff they show in the official docs. Makes more sense.

  • @actualemotionalvivisection5354
    @actualemotionalvivisection5354 3 роки тому +6

    I just got back into town and this is now my project for the day. Once I get comfortable I can't wait to modify and put together some of these projects into a bigger production. Thank you once again.

    • @PythonSimplified
      @PythonSimplified  3 роки тому +1

      That's awesome!! 😀
      Let me know how it turns out, I'm curious to see what you'll come up with! 😊

    • @user-sy7ct2ls8t
      @user-sy7ct2ls8t 20 днів тому

      @@PythonSimplified left hanging

  • @jimbauer9508
    @jimbauer9508 3 роки тому +6

    Super awesome video again! the pace and flow makes it very easy to follow. Kivy seems like a more appropriate GUI for simple apps than PyQt5 as it has a much more intuitive syntax I think. You also made classes a little less scary :) Thank you for expanding our horizons!!

    • @KivySchool
      @KivySchool Місяць тому

      I agree that Kivy has a more intuitive syntax

  • @kasperchristensen8416
    @kasperchristensen8416 Рік тому

    Thanks a bunch, Mariya! This is exactly the type video I was looking for to get started with Kivy! 😊

  • @SAArcher
    @SAArcher 2 роки тому

    I abandoned five other tutorials before I found yours. You have helped me so much! Thank you! Subscribing!

  • @alexismatoss
    @alexismatoss 2 роки тому

    I love your courses, it's fast and works! I had a lot of simple projects that I would like to create some interfaces as app or desktop interface, and you always give me what I need, instead of a video with 5 hours xD

  • @michaelmushers6368
    @michaelmushers6368 3 роки тому +2

    Спасибо. Люблю ваши уроки!

  • @mjpender9443
    @mjpender9443 2 роки тому

    Many thanks. You are an excellent teacher / presenter. I had been having problems with get Kivy working and you certainly helped out. MJ

  • @douglaspassos3864
    @douglaspassos3864 3 роки тому +2

    Thank you very much for the class. I got to understand Kivy. Thank you very much.
    Greetings from Brazil

  • @jamesbooth2361
    @jamesbooth2361 2 роки тому +2

    This video was just what I was looking for! Thanks so much, really helped. Will share my project when it's finished!

    • @PythonSimplified
      @PythonSimplified  2 роки тому

      Thant's awesome James!!! I'm happy to hear that! 😀
      You can also upload your Kivy project on to an Android phone! I just released a tutorial on the subject, check it out if you want to find out how 😉:
      ua-cam.com/video/VsTaM057rdc/v-deo.html

  • @guilhermetrevisan7956
    @guilhermetrevisan7956 3 роки тому +4

    You explained so well that even me understood the whole video, even though my language is portuguese. You rock girl!

    • @PythonSimplified
      @PythonSimplified  3 роки тому +2

      Yeyy! I'm so happy to hear that, Guilherme! Trying extra hard to pronounce the words in a way that everybody can understand! 😀 (especially because of my accent hahaha)
      By the way, I just posted the Mobile App with KivyMD project I've been promising:
      ua-cam.com/video/ah3JeHAfM0M/v-deo.html
      It's such a nice library! I think you might even like it more than the regular Kivy! 😉
      Obrigado, my firend! 😁

  • @petelogiudice8202
    @petelogiudice8202 2 роки тому +1

    Your style of instruction is concise and enjoyable to watch. You answer any and all questions anyone might have about what you are coding immediately. No wasted words at all! I definitely will be checking out more of your videos!

  • @scale1982
    @scale1982 3 роки тому +6

    As always, great tutorial, thank you so much!!

  • @kavyajeetbora2585
    @kavyajeetbora2585 2 роки тому

    Wow what an explanation. Anybody not interested in programming can understand. I was going learn tkinter but this kivy library seems to be easy and less verbose. And the interface looks modern too. Thanks Maria for this video.

  • @jasonlogan2737
    @jasonlogan2737 Місяць тому

    Absolutely fantastic teaching. Haven't programmed since I was a kid doing BBC basic.
    After watching a few or you videos, I've written my own app to keep tabs of my project gadget.
    Very easy to follow. You explain it all so well. Thank you

  • @DaveJohns61
    @DaveJohns61 2 роки тому +2

    I came across your channel a couple of days ago and I found that you are absolutely brilliant at explaining things. I'm no stranger to Python but Kivy is new to me and you made everything crystal clear. Thanks for the tutorial and I hope there's many more to come. Subscription +1

    • @PythonSimplified
      @PythonSimplified  2 роки тому

      Thank you so much for the incredible comment, Dave! 😃
      Super happy to have you onboard! Welcome to our little (but growing) community! 😊

  • @bdeas
    @bdeas Рік тому

    Thanks for all your help. Great stuff!

  • @rikardoledal2270
    @rikardoledal2270 2 роки тому

    Great videos! I've just started using Python. This was my first Kivy-video. You make it look easy :)

  • @AstonJay
    @AstonJay 3 роки тому +11

    This is awesome! Thank you so much! I struggle with putting my code into a GUI. I can't wait to learn more! Some videos on Python classes would be great too 🤗

    • @PythonSimplified
      @PythonSimplified  3 роки тому +5

      Absolutely, my friend! I'm gonna post a detailed Python Classes tutorial before we move on with the Advanced KivyMD Mobile App Project! 😁
      I want everybody to be comfortable with classes, as they're the only way to run Kivy (and actually the proper way to run the other GUI modules as well 😉)
      And thank you so much! 😀

    • @shezikhan5934
      @shezikhan5934 3 роки тому

      Can we build wtspp like apps with kivy??

  • @AngelMaldonado2
    @AngelMaldonado2 Рік тому

    Your explanations and your english are so perfect...! Thank you so much for everything you do for us! Sending hugs from Argentina! 😇

  • @chiranjeebroychowdhury7759
    @chiranjeebroychowdhury7759 3 роки тому +1

    Nice video Mariya! One of the biggest advantages of Kivy is that it supports cross platform mobile app development. I used React Native in the past but found it too tiring. This looks much easier!

  • @sidneysouza3034
    @sidneysouza3034 3 роки тому +2

    Great Job Mariya!!! It is nice to see tools that help us to build desktop/mobile apps and do this as easy as you showed is much better.
    Thank you for speak clearly as well, it made me feel happy for understood all you were talking about.
    Congrats from Brazil!!!

    • @PythonSimplified
      @PythonSimplified  3 роки тому +1

      Thank you so much Sidney! 😁
      I'm so happy you found this tutorial helpful! Greetings from Canada! 🍁😀🍁

  • @eclipse6161
    @eclipse6161 3 місяці тому

    This is really helpful considering I have a coding competition where I can only use python, I have never seen someone as educated and sweet as you explain so quickly and efficiently! Thank you so much and I must say your teaching style is amazing! (Love the slenderman part) you really helped me out! I can't say thank you enough!!!!!

    • @KivySchool
      @KivySchool Місяць тому

      Nice that you are getting to learn Kivy, can I ask if you have encountered any challenges learning Kivy?

  • @ciscocode
    @ciscocode Рік тому

    is the first time that see a video of the library kivy, good! thankiu

  • @oghenekevbeegume2443
    @oghenekevbeegume2443 3 місяці тому

    wow. i"m blown away. I had a long list of videos i was checking out for learning kivy. yours was the last... BUT IT WAS THE ONLY VIDEO I WATCHED FROM START TO FINISH... and not because of the length. The others scared me!!! so , Thank you very much

    • @KivySchool
      @KivySchool Місяць тому

      Good luck going foward learning kivy

  • @shasank6854
    @shasank6854 2 роки тому

    Thank you so much for this tutorial, you gave me the inspiration I was searching for. Please keep on making such wonderful videos.

  • @subhankarchakraborty3866
    @subhankarchakraborty3866 2 роки тому

    Thank you, for ur this simplified video I finally completed my AERO CALCULATOR.
    Thanks a lot ❤️❤️❤️❤️

  • @regford3572
    @regford3572 2 роки тому

    This is awesome! Straight forward

  • @mithunnath8733
    @mithunnath8733 Рік тому +1

    Very very interactive kivy tutorial. I see at first easy kivy and python tutorial for begenar friendly lacture. Thanks for this easy lacture.

  • @MrEpocalipto
    @MrEpocalipto Рік тому

    what a geat teahcer! i dont even speak english very well, but i learn so much on this simple video!

  • @gfduarte2
    @gfduarte2 2 роки тому

    Thanks for the video! Explained in detail.

  • @fentables
    @fentables 2 роки тому

    now i understand Kivy a lot, thanks ^-^

  • @amilcarc.dasilva5665
    @amilcarc.dasilva5665 3 роки тому

    Hi Mariya...Thanks a lot. Your tutorials are useful. I can't wait to learn more videos on creating App with Python from you.

  • @ibrahimel-musty4317
    @ibrahimel-musty4317 2 роки тому

    This video is wow!!! rating is 100%. thanks for simplifying kivy

  • @greenief9097
    @greenief9097 2 роки тому

    Thankyou for making this! Just what I need to get started.

  • @ODRACLIVE
    @ODRACLIVE 3 роки тому +1

    You explain very well and in a simple way so that people who do not know programming understand, as in my case. Thank you very much.

    • @PythonSimplified
      @PythonSimplified  3 роки тому +1

      Thank you so much for the lovely feedback! That's exactly what I'm trying to do! 😀
      Programming doesn't have to be difficult and we learn it so much better when we're coding along! 😉

    • @ODRACLIVE
      @ODRACLIVE 3 роки тому

      @@PythonSimplified I recently started to learn programming and your channel is one of the ones that has helped me the most to understand what programming is. :D

  • @raylee1969
    @raylee1969 9 місяців тому

    I am working on determining my goto GUI framework for Python. This video is very helpful !

  • @williesolomon614
    @williesolomon614 3 роки тому

    Wow, very clear and concise kivy video tutorial. Thank you for sharing.

  • @luis96xd
    @luis96xd 2 роки тому

    Thanks for this video, I liked it so much and I liked your way of explaining things!
    The App and the logo looks amazing!

  • @XJacksonvilleX
    @XJacksonvilleX 3 роки тому

    great maria! can't wait for more of such quality content

  • @michaelhearmon9965
    @michaelhearmon9965 Рік тому

    Thank you Mariya, very helpful in getting started with Kivy

  • @RPAChampion
    @RPAChampion 3 роки тому

    i love your automation videos ! You are an Automation Champion

  • @mikevillarreal8291
    @mikevillarreal8291 2 роки тому

    thank you!!! this video has been really useful to get a grasp on kivy!

  • @nkunam
    @nkunam 2 роки тому

    thank you. what a wonderful video! a breadth of fresh air. Keep up the amazing work. 👌

  • @sohams2404
    @sohams2404 3 роки тому

    I didn't like Python before watching your video but now I like to learn Python thanks for this video🙏

  • @kamertonaudiophileplayer847
    @kamertonaudiophileplayer847 3 роки тому

    It looks like a very valuable introduction. I sold to the Kivy.

  • @slobodanstamenkovic6017
    @slobodanstamenkovic6017 2 роки тому

    Thank you ! Tutorial was very helpfull . Today I know much more about using Kivy & Python than few days ago😄

  • @pongnarinpradubsiriporma4073
    @pongnarinpradubsiriporma4073 2 роки тому

    You made my day thank you so much!

  • @michaelrgnipon
    @michaelrgnipon 2 роки тому

    Awesome video! Thank you!

  • @paulcullum517
    @paulcullum517 3 роки тому +3

    Well done , looking forward to the kivy mobile lesson 😘

  • @David-zp8rx
    @David-zp8rx 2 роки тому

    You are an amazing teacher! thanks!!

  • @TravelingCoder
    @TravelingCoder 2 роки тому

    Thanks for this. It's just what I needed!

  • @ralvarez02
    @ralvarez02 Рік тому

    Thank you for your very clear instructions.

  • @freedtmg16
    @freedtmg16 2 роки тому

    Great work! So cool I'm so excited to start making my own apps!

  • @7999rahul
    @7999rahul 2 роки тому

    Great tutorial, short and sweet!

  • @oxygen1533
    @oxygen1533 2 роки тому

    thanks, I learned not much but one of the best videos for beginners

  • @Charles-xc6sr
    @Charles-xc6sr 3 роки тому +2

    Of to make an app out of my pomodoro program, thanks for the video sis. loved it.

  • @giovannirodriguez8568
    @giovannirodriguez8568 3 роки тому

    Great video! I been watching your videos for some time thanks!

  • @TheJonathanLugo
    @TheJonathanLugo 3 роки тому +4

    This video is so cool and helpful. Thank you!

    • @PythonSimplified
      @PythonSimplified  3 роки тому

      Thank you Jonathan! I'm glad you liked this tutorial! 😀

  • @ahmadblasoo5224
    @ahmadblasoo5224 6 місяців тому

    this video is adorably perfect

  • @marpalmyra
    @marpalmyra 2 роки тому +1

    Great.......!!!! I loved it....!!!!

  • @TheDanirex13
    @TheDanirex13 2 роки тому

    This videos are perfect for me as a beginner in programming :)

  • @yeetpizza7452
    @yeetpizza7452 3 роки тому

    I love your tutoirals i combined this one and your one with web scraping using mechanical soup now i feel awesome

  • @ssitwit
    @ssitwit 2 роки тому +1

    Great and easy way. You are really a great teacher. I am very new to Kivy, and I have a project to build a mobile app that tracks drivers behaviour and send a report on how they drove over a period of time. I will follow you all the way until I finish my project. I just wish you will be there to guide me through.

  • @MohamedIbrahimEid
    @MohamedIbrahimEid Рік тому

    Thank you much, your tuts are very helpful.

  • @unicoeaunicoea3094
    @unicoeaunicoea3094 11 місяців тому +1

    You Great! Thank you for share this!

  • @asuquo_samuel
    @asuquo_samuel Рік тому

    Cool tutorial looking forward to share my project with you

  • @wg0016
    @wg0016 3 роки тому

    Great tutorial, love your presentation!

  • @NasserTabook
    @NasserTabook 2 роки тому

    Thanks Mariya, you make learning process very simple and interactive...GREAT JOB...

  • @anchorsanvils
    @anchorsanvils 2 роки тому

    this is dope thanks!

  • @dylankirdahy9591
    @dylankirdahy9591 3 роки тому +1

    Looking forward to more!

    • @PythonSimplified
      @PythonSimplified  3 роки тому +1

      Will do Dylan! next GUI project is an Advanced Mobile App with KivyMD, which hopefully we'll end up uploading to the App/Play store 😉

  • @topeabiodun6048
    @topeabiodun6048 Рік тому

    Besides, I really like the way you explained each concept explicitly within the short time frame. I would like to watch more videos from you...

  • @TheSaoura
    @TheSaoura Рік тому

    Your style of instruction is concise and enjoyable to watch.
    Good luck from Algeria

  • @shahriari3145
    @shahriari3145 5 місяців тому

    i am from iran .i saw all your video and did.thanks lot.

  • @coolbuddy8386
    @coolbuddy8386 2 роки тому

    Simply superbbb !!!

  • @dexpop3077
    @dexpop3077 2 роки тому

    Great and simple! I will recommend this channel to my pupils :)

  • @johntessier6459
    @johntessier6459 3 роки тому +1

    Thank you for the Python Simplified videos, I appreciate each one of these as they give me a greater appreciation for delving into coding with python from scratch. The coding in these videos is explained very clearly. Subscribed.

  • @idrissabangoura3653
    @idrissabangoura3653 Рік тому

    I love the way you teach , i love your hair style i love everything about you

  • @healthwithbhavesh6030
    @healthwithbhavesh6030 3 роки тому

    Thanks Mariya ... Again with new excellent topic....Thanks once again.

  • @szamp
    @szamp 3 роки тому

    Thanks, Mariya. A really good and valuable video! You helped me a lot

  • @Treach112
    @Treach112 2 роки тому

    My 1st time seing this kind of tutorial. Keep up the good work

  • @mkrichey1
    @mkrichey1 2 роки тому

    Great tutorial, thank you :)

  • @WorldWideSk8boarding
    @WorldWideSk8boarding Рік тому

    your a really good teacher, I feel safe here lolllll

  • @mataokiskill4fun437
    @mataokiskill4fun437 3 роки тому

    nice tutorial, now I like kivy

  • @freddiedejesus785
    @freddiedejesus785 3 роки тому

    You make a wonderful instructor. 👍

  • @adilmoiniceberg
    @adilmoiniceberg 2 роки тому

    Thanks. Very appreciative

  • @mibrahim4245
    @mibrahim4245 3 роки тому

    as always, I love you !

  • @bajangsekacang
    @bajangsekacang Рік тому

    You made python and Kivy...easy n beautyfull.. thanks

  • @milesmatic2872
    @milesmatic2872 3 роки тому +1

    Awesome tutorial, very helpful!

    • @PythonSimplified
      @PythonSimplified  3 роки тому

      Thank you so much Gilbert! I'm always happy to help! 😁

  • @erickedgardolandaverdealas2288
    @erickedgardolandaverdealas2288 3 роки тому +2

    Good video to start Kivy´s world and very good example to watch and explore how the basic sintaxis work.

    • @PythonSimplified
      @PythonSimplified  3 роки тому

      Thank you so much Erick, I'm really glad you liked this introduction to Kivy! 😀

  • @fadhilamelliti1878
    @fadhilamelliti1878 2 роки тому

    GIANT...THANK YOU SO MUCH

  • @mr-raa0443
    @mr-raa0443 Рік тому

    great video , l learnt a lot of the basic thanks so much!

  • @InfiniteLK
    @InfiniteLK 11 місяців тому

    Thank you Maria for all of these❤ greetings from small island Sri Lanka😅