[Tutor] Python app on a Mac

Alan Gauld alan.gauld at yahoo.co.uk
Wed Apr 13 20:46:16 EDT 2022


I've just migrated to a Mac mini running Monterey.

I have a Python GUI(Tkinter) app that I wrote on Linux and
have managed to get working on MacOS except....

When I start the program I get a Terminal wondow as well
as the GUI. On Windows I'd run it with pythonw and in Linux
I just created a desktop launcher to avoid that. But there
is no pythonw on MacOS nor a simple way I can find to
launch apps from the desktop.

Does anyoe know how to launch a Python program from the
desktop without a Terminal window(or at least with an
iconified one!) Does it require Applescript or somesuch?


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list