[Pythonmac-SIG] Jack Jansen - Question on Python Launcher

Tom Dossis td at yoma.com.au
Wed Jun 2 15:27:05 EDT 2021


Hey Guy,

From Finder, right click on your `.py` file, then press the Option key.
You should see an ‘Always open with…’ menu item.
From that, select a Python Launcher.
A window will then pop up with a customisation dialog.
This has an option to ‘Run in a Terminal Window’.

Good Luck.

> On 31 May 2021, at 3:30 am, Guy DeStefano <guydestefano at gmail.com> wrote:
> 
> 
> Sorry to bother you, but I have one question that I cannot find an answer to, could you please help.  Am very new to Python3 and have written a small program that is my base for my learning Python3.  All is perfect except,  when I double click my program the .py file, it works great except that it calls in the Python Launcher, and when I exit my program, the preferences box for Python Launcher and the Icon of the launcher still remain on the screen.  I have to manually close the python launcher.  Can this be done programmatically, I exit with sys.exit(0). I am using tkinter in the program, along with python3.9.5, on an Apple Mac computer.  This may not be the proper place for this question, if not, I apologize and please direct me where to go as I have been googling for days. Thanks in advance. Any help will be greatly appreciated.
> I have just noticed that python3 -V states python 3.9.5, and looking at the python launcher box it states Version 3.10.0b1(3.10.0b1) Is this something I am doing wrong.
> 
> guydestefano at gmail.com <mailto:guydestefano at gmail.com>
> Guy DeStefano
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> https://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pythonmac-sig/attachments/20210603/b24a1d24/attachment.html>


More information about the Pythonmac-SIG mailing list