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 <guydestef...@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.
> 
> guydestef...@gmail.com <mailto:guydestef...@gmail.com>
> Guy DeStefano
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
> https://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to