what is kivy in python code example
Example 1: python kivy
#-*- coding: utf-8 -*-
from kivy.app import App
from kivy.uix.label import Label
class TestApp(App):
def build(self):
return Label(text='Hello World')
TestApp().run()
Example 2: kivy python
from kivy.app import App
from kivy.uix.button import Button
class TestApp(App):
def build(self):
return Button(text='My Name is Vivek')
TestApp().run()
Example 3: python kivy
[Python 3.5 Windows]
python -m pip install kivy.deps.angle
python -m pip install kivy