When you say those other two IDEs are Tk IDEs, does that mean that the IDE itself is built using Tk? or do you mean that they simply built a Tk loop into their app to make it convenient for programmers?
> On May 25, 2018, at 8:12 AM, Eric Stephan <[email protected]> wrote: > > Aha!!! Big thank you to both of you guys… This is seriously an educational > thread for me… Thank you! > Eric > >>> On May 25, 2018, at 8:00 AM, Colomban Wendling <[email protected]> >>> wrote: >>> >>>> Le 24/05/2018 à 21:56, Lex Trotman a écrit : >>>> […] >>>> 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. >> >> As said it also works with the Python main loop, if you e.g. import the >> file as a module it behaves as the OP expected. >> _______________________________________________ >> Users mailing list >> [email protected] >> https://lists.geany.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ > Users mailing list > [email protected] > https://lists.geany.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] https://lists.geany.org/cgi-bin/mailman/listinfo/users
