On my machine with macOS 14.2.1 Sonoma, I discovered a couple of python3. I am unsure any “got here with” Sonoma. First, in a terminal, which python3
returns ‘/choose/homebrew/bin/python3’. I appeared in /usr/bin/ and located a python3 there, too. Utilizing /usr/bin/python3 -h
gave me an excessive amount of data however confirmed a path indicating it was put in with Xcode.
This is a solution to get the model: in a terminal, merely kind the title of the python you need look at (this begins the python REPL – use Ctrl-D to exit). It’ll inform you about itself. I did that for the 2 pythons I discovered, and the one from homebrew was Python 3.11.6, and the one in /usr/bin was Python 3.9.6. For those who ask homebrew to uninstall python, it is going to uninstall the one in its listing. Observe that, not less than on my system, solely python3 exhibits up, not python or python2.