test-kivy-app/kivy_venv/share/kivy-examples/guide/quickstart/main.py
2024-09-15 15:12:16 +03:00

16 lines
285 B
Python

import kivy
kivy.require('1.0.6') # replace with your current kivy version !
from kivy.app import App
from kivy.uix.button import Button
class MyApp(App):
def build(self):
return Button(text='Hello World')
if __name__ == '__main__':
MyApp().run()