📜  python GUI kivvy - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:40.053000             🧑  作者: Mango

代码示例1
from kivy.app import App
from kivy.uix.widget import Widget


class PongGame(Widget):
    pass


class PongApp(App):
    def build(self):
        return PongGame()


if __name__ == '__main__':
    PongApp().run()