Advertisement
trashatkivy

kivytest.py

Jan 13th, 2021
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. import kivy
  2. kivy.require('2.0.0') # replace with your current kivy version !
  3.  
  4. from kivy.app import App
  5. from kivy.uix.label import Label
  6.  
  7.  
  8. class MyApp(App):
  9.  
  10. def build(self):
  11. return Label(text='Hello world')
  12.  
  13.  
  14. if __name__ == '__main__':
  15. MyApp().run()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement