Simple Python App with Kivy - Step by Step GUI Tutorial

preview_player
Показать описание
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 👨‍💻
***********************************************

class SayHello(App):
def build(self):
#add widgets to 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:

Kivy Documentation:

***********************************************
🐍 Install Anaconda & Python 🐍
***********************************************

Kiwi Background image came from freepik :
Thank you very much for the beautiful graphic! 🤩
Рекомендации по теме
Комментарии
Автор

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

SkNj-wcfg
Автор

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!

bigdaddy
Автор

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

mattlarsen
Автор

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!

ledseblin
Автор

That mechanical keyboard sound is super satisfying.

thesouthsidedev
Автор

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

GabrielGcbs
Автор

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

neerajaggarwal
Автор

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.

king-manu
Автор

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

alexismatoss
Автор

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

SAArcher
Автор

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

kasperchristensen
Автор

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!!

jimbauer
Автор

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

mjpender
Автор

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.

actualemotionalvivisection
Автор

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

jasonlogan
Автор

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

DaveJohns
Автор

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.

kavyajeetbora
Автор

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!

petelogiudice
Автор

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

rikardoledal
Автор

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

AngelMaldonado