If you just install from the standard 3.1 disk image then you can invoke it using I personally wouldn't mess around with OSX's python like they said.
My personally preference for stuff like this is just using Mac Ports and installing the versions I want via command line.
Receive updates on new releases and upcoming projects.
You do not need to install or configure anything else to use Python.
Mac Ports puts everything into a separate direction (under /opt I believe), so it doesn't override or directly interfere with the regular system.
According to: https://docs.python.org/3/using/I can get Python 3 and live long and prosper, BUT it is not clear what happens when I want to upgrade using the next DMG.
While OS X comes with a large number of UNIX utilities, those familiar with Linux systems will notice one key component missing: a package manager. To install Homebrew, open The next step is to install Pipenv, so you can install dependencies and manage virtual environments.
A Virtual Environment is a tool to keep the dependencies required by different projects in separate places, by creating virtual Python environments for them.
These instructions document the installation of Python 3.
The version of Python that ships with OS X is great for learning, but it’s not good for development.