Hello

15 views
Skip to first unread message

Taha TopG

unread,
Feb 20, 2018, 5:15:11 PM2/20/18
to Kivy users support
HI GUYS, i tried to make the first app that i could do with kivy the Hello button but unfortunately it doesn't run.What are the possible issues?
from kivy.app import App
from kivy.uix.button import Button
class TestApp(App):
    def build(self):
        return Button(text='Helloworld')
TestApp().run()

That's what i had written...then i clicked on F5.

Johannes Findeisen

unread,
Feb 20, 2018, 6:04:28 PM2/20/18
to kivy-...@googlegroups.com
Hello,
can You please give us some more information. Where do You hit F5?
What's the error message? Is it possible You named the file
"kivy.py"?

Can You please put your code in a file named hello.py and run it with
"python test.py"? Then give us the output of the execution.

For me your code looks fine and is running without any issues.

Johannes
Reply all
Reply to author
Forward
0 new messages