I am learning about the kivy library for python. I have a test code which i run with
C-u C-c C-c after having the python interpreter fired up with
C-p. It runs fine the first time and the window opens, but trying to run it a second time makes nothing happen; the window doesn't show, only in the minibuffer below i see
Sent: import kivy.
import kivy kivy.require(kivy.__version__) from kivy.app import App from kivy.uix.label import Label class MyApp(App): def build(self): return Label(text = "Guido Van Rossum", font_size = 90) def main(): MyApp().run() if __name__ == "__main__": main()
Does anyone have experience with writing kivy using emacs, or can any one help?
This is what i get in the terminal the second time i run the code:
>>> [INFO ] [Base ] Start application main loop [ERROR ] [Base ] No event listeners have been created [ERROR ] [Base ] Application will leave