Table des matières

Python - Kivy : Hello World !

Le programme Hello

main.py
from kivy.app import App
from kivy.uix.button import Button
 
class Hello(App):
    def build(self):
        return Button(text='Hello World !')
 
Hello().run()

Exécution du programme

python main.py

Explication

Pour programmer avec Kivy, tu utilises des objets. Voici une explication des instructions du programme :

Retour au menu de ma première application