Advertisement
here2share

# Kivy_basic.py

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