Using Python Code On a .KV Design File - Python Kivy GUI Tutorial #61

preview_player
Показать описание
In this video I'll show you how to use python in your .kv design files.

Can we use actual Python on a Kivy .kv file? Well....sort of! I'll show you how to do it in this video.

#kivy #codemy #JohnElder

Timecodes

0:00​​ - Introduction
0:56 - Build Out .KV GUI
2:13 - Create a Python Loop In .kv File
2:28 - Change KV Label With Python Loop
4:04 - MultiLine Python In .KV File
4:46 - Use Variables In .KV File
5:30 - Use Python List in .KV File
6:16 - Conclusion
Рекомендации по теме
Комментарии
Автор

▶️ Watch Entire Kivy Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:
▶️ Get The Code

Codemycom
Автор

Hii john.
Im a senior secondary computer student from India. Iam currently learning python. I always had a desire to create an interface for my programs but i dont find ways. But for the past 1 month Iam watching your tutorials on tkinter and kivy which is really really useful for me to learn and now I can create a new app based on kivy or tkinter and the credits goes to you. Thankyou very much. Keeping uploading more and more tutorials. Once again thankyou you.

venkatsaivikram
Автор

You seriously deserve a million subscribers

ponishbhatia
Автор

THANK YOU SOO MUCH! THIS IS WHAT I WAS LOOKING FOR!!

infinitespace
Автор

Wish you had many more subscribers.

Sad fact that a person like you who uploads almost daily has very low sub count.

aditya_asundi
Автор

Like on_release do we have on_tab? How do we code handle if the user enters some value in text box and tab?

MrRWF
Автор

Is it possible to create an internal variable inside for loop that is in kv file? How can I made it? For example:
on_release:
for n in range(5):\
aux += n #Aux is an internal variable that I'm using to supoort me in this task
print(aux)
?

joseanacleto
Автор

can you say how to add completions to kivy textinput

kavithar
Автор

If I want to use an 'if' and 'elif', 'else', in a .kv file how I can do it?? Pleaseee

franciscolozano
Автор

Is there a way to create multiple labels/inputs etc. with loops in .kv?

marekwysocki
Автор

Thanks, can u pls pls show us how to do scroll pls

addisumengistu
Автор

I've previously viewed your tutorial on using vkeyboard however I want to use if from a kv file I though this tutorial might have the answer but I still can't seem to get it to work. can you share the details on how this is done? Thanks!

joeward
Автор

Could you make video on recycleview of Kivy

Rekha
Автор

Hi sir, please make data table with kivy file, 🙏

jayappan
Автор

I didnt get that how to open a kv file

femylijo
join shbcf.ru