Default meaning of Python on the command-line may not be clear. Python is usually an alias for python2.7 (but it can sometimes be an alias for older versions like python2.6 or python2.5). To find out exactly which version of Python you're using, you can use the --version flag.
$ python --version
Python 3 is usually available under the name of python3.
$ python3 --version
To use version 3.7:
$ python3.7
Your system, i.e. macOS will not use 3.7, furthermore (Documentation >>> Python Setup and Usage >>> Using Python on Macintosh):
$ python --version
Python 3 is usually available under the name of python3.
$ python3 --version
To use version 3.7:
$ python3.7
Your system, i.e. macOS will not use 3.7, furthermore (Documentation >>> Python Setup and Usage >>> Using Python on Macintosh):
Quote:The Apple-provided build of Python is installed in /System/Library/Frameworks/Python.framework and /usr/bin/python, respectively. You should never modify or delete these, as they are Apple-controlled and are used by Apple- or third-party software. Remember that if you choose to install a newer Python version from python.org, you will have two different but functional Python installations on your computer, so it will be important that your paths and usages are consistent with what you want to do.
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.