from kivy.app import App
from kivy.uix.label import Label
class simple(App):
def build(self):
return Label(text = "Hello World")
if __name__ == "main__":
simple().run()
The above code works fine when written in the python CMD shell, but this code does not works when saved in a file.
On CMD python shell:
From IDLE, Sublime Text and different text editors (The file is saved on Desktop):