Simple Python App with Kivy - Step by Step GUI Tutorial
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:
https://github.com/MariyaSha/SimpleGreetingApp
Kivy Documentation:
https://kivy.org/doc/stable/
***********************************************
🐍 Install Anaconda & Python 🐍
https://youtu.be/FZ5baopI_mo
***********************************************
Kiwi Background image came from freepik :
https://www.freepik.com/free-vector/coloured-summer-sale-brochure-template_895190.htm#page=2&query=kiwi&position=10
Thank you very much for the beautiful graphic! 🤩
Видео Simple Python App with Kivy - Step by Step GUI Tutorial канала Python Simplified
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:
https://github.com/MariyaSha/SimpleGreetingApp
Kivy Documentation:
https://kivy.org/doc/stable/
***********************************************
🐍 Install Anaconda & Python 🐍
https://youtu.be/FZ5baopI_mo
***********************************************
Kiwi Background image came from freepik :
https://www.freepik.com/free-vector/coloured-summer-sale-brochure-template_895190.htm#page=2&query=kiwi&position=10
Thank you very much for the beautiful graphic! 🤩
Видео Simple Python App with Kivy - Step by Step GUI Tutorial канала Python Simplified
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Python Learning Roadmap for Beginners - This is how I learned! - Vlog 4](https://i.ytimg.com/vi/wFEC7VbWBZo/default.jpg)
![Python Classes and Objects - OOP for Beginners](https://i.ytimg.com/vi/f0TrMH9s-VE/default.jpg)
![Convert Python to Android with WINDOWS & LINUX + Fix Common Bugs](https://i.ytimg.com/vi/VsTaM057rdc/default.jpg)
![Python GUI Development With PySimpleGUI](https://i.ytimg.com/vi/-_z2RPAH0Qk/default.jpg)
![Which is Better Kivy Or Tkinter? - Python Kivy GUI Tutorial #42](https://i.ytimg.com/vi/5j-Fa-GSRII/default.jpg)
![15 Python Projects in Under 15 Minutes (Code Included)](https://i.ytimg.com/vi/OXi4T58PwdM/default.jpg)
![Kivy Basics in 60 MINUTES](https://i.ytimg.com/vi/9JH8r8mz0g4/default.jpg)
![](https://i.ytimg.com/vi/_cYRRMFPVbg/default.jpg)
![Convert py to exe - from code to software](https://i.ytimg.com/vi/Y0HN9tdLuJo/default.jpg)
![Automate Excel With Python - Python Excel Tutorial (OpenPyXL)](https://i.ytimg.com/vi/7YS6YDQKFh0/default.jpg)
![Create a GUI app with Tkinter - Step by Step Tutorial](https://i.ytimg.com/vi/itRLRfuL_PQ/default.jpg)
![Mobile App with KivyMD - Python GUI for Android - Binary to Decimal Converter](https://i.ytimg.com/vi/ah3JeHAfM0M/default.jpg)
![Python Object Oriented Programming (OOP) - For Beginners](https://i.ytimg.com/vi/JeznW_7DlB0/default.jpg)
![Android App Development in Python With Kivy](https://i.ytimg.com/vi/6gNpSuE01qE/default.jpg)
![How to Convert any Python File to .EXE](https://i.ytimg.com/vi/UZX5kH72Yx4/default.jpg)
![Kivy Course - Create Python Games and Mobile Apps](https://i.ytimg.com/vi/l8Imtec4ReQ/default.jpg)
![Python for Beginners - Learn Python in 1 Hour](https://i.ytimg.com/vi/kqtD5dpn9C8/default.jpg)
![Simple Web App with Flask and Heroku - Python GUI for Beginners](https://i.ytimg.com/vi/6plVs_ytIH8/default.jpg)
![How to Program a GUI Application (with Python Tkinter)!](https://i.ytimg.com/vi/D8-snVfekto/default.jpg)
![Python Website Full Tutorial - Flask, Authentication, Databases & More](https://i.ytimg.com/vi/dam0GPOAvVI/default.jpg)