1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Como manter a janela aberta em Python Kivy?

Discussão em 'Python' iniciado por Stack, Setembro 9, 2024.

  1. Stack

    Stack Membro Participativo

    Estou aprendendo a biblioteca Kivy, do Python. O código não está a dar erros, mas a janela abre e fecha imediatamente. Como posso fazer com que a janela se mantenha aberta?

    import kivy
    from kivy.app import App
    from kivy.uix.label import Label

    kivy.require('1.9.1')

    class PrimeiroApp(App):
    def build(self):
    return Label(text='Hello World, Kivy!')

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

    Continue reading...

Compartilhe esta Página