I’m writing a gui application using Python & TKInter, and PyInstaller, testing it both on macOS and Windows. One infuriating thing on the Mac is that when I launch the application it the icon appears in the dock for a moment, and then disappears for a few seconds. If all goes well, it reappears, but I now have to wait to see whether the application launches properly. What is causing the disappearance, and how can I stop it? Continue reading...