Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to load .kv files? [closed]

Tags:

python

kivy

I started to learn kivy and I also tried to use kivy language, but my program app.py did not read my app.kv file, so all I get is a blackscreen. I heard that it is possible to load the the .kv file, but I could not find the command.

like image 511
Gilgamesch Avatar asked Aug 31 '25 10:08

Gilgamesch


1 Answers

Try this:

from kivy.lang import Builder
Builder.load_file('kivi.kv')
like image 176
Irshad Bhat Avatar answered Sep 02 '25 23:09

Irshad Bhat