Kivymd full app
from kivymd.app import MDApp from kivymd.uix.screen import Screen from kivy.lang import Builder # Create a function that will build the main_kv.kv file def build_main_kv(): main_kv = Builder.load_file("main_kv.kv") return main_kv # Create a class that will hold the app's widgets and functions class KivyMDApp(MDApp): # Define the function that will be called at the start of the app def build(self): # return the main_kv file that has your widgets return build_main_kv() # Run the app if __name__ == "__main__": KivyMDApp().run()