#here is a simple code , you can try at the beginning
from kivy.app import App
from kivy.uix.button import Button
from kivy.uix.label import Label
class Sample(App):
def build(self):
sample = Button(text="subscribe me")
sample.bind(on_press=self.on_button_press)
return sample
def on_button_press(self, instance):
instance.text = "subscribed"
if __name__ == "__main__":
Sample().run()
#subscribe me @code0mate
#python
#kivy
#pydroid3
#beginner friendly
Download
0 formats
No download links available.
How to run python/kivy codes in Pydroid3 python IDE Pydroid3 tutorial #shorts | NatokHD