title: Python Spyder initializing Hello World Kivi app once?
body: <p>Does anyone know why Python's 2.7 Spyder is successfully initializing the 'Hello World' Kivy app just once, i.e. hitting F5 brings the window app, but when I close it and hit F5 again, it says the following error:</p>
  
  <pre><code>[INFO              ] [Base        ] Start application main loop
  [ERROR             ] [Base        ] No event listeners have been created
  [ERROR             ] [Base        ] Application will leave
  </code></pre>
  
  <p>However, there is no error when initialized through Anacondas Command Prompt.</p>
  
  <p>Here's the code (same as website):</p>
  
  <pre><code>from kivy.app import App
  from kivy.uix.button import Button
  
  class TestApp(App):
      def build(self):
          return Button(text='Hello World')
  
  TestApp().run()
  
  if __name__ == '__main__':
      TestApp().run()
  </code></pre>