[Geany-Users] Geany on Raspberry Pi... can't see Tkinter window
elextr at xxxxx
Fri May 25 00:56:35 UTC 2018
On Fri, 25 May 2018 at 10:45, Colomban Wendling <lists.ban at herbesfolles.org>
> Le 20/05/2018 à 01:18, Lex Trotman a écrit :
> > Try reading
> > and see what your script is missing to make it run as a complete
> > program.
> FTR, from
> you can see the problem is that the program is missing a
> `window.mainloop()` call. This works inside a Python console because
> Python is running awaiting for input, but doesn't as a standalone
In fact both the other IDEs mentioned are Tk IDEs, so conveniently there is
already a mainloop running.
> application because Python just quits as it has done all processing.
> Launching the main loop obviously fixes the issue.
> Users mailing list
> Users at lists.geany.org
More information about the Users