install python version 3.7 code example
Example 1: latest version of python
# For macs...
# Apparently you don't want to upgrade 2.* just install 3.*
% brew install python3
Example 2: install python 3.7
# Go to Python.org and use archives to explore past releases of Python.
# If you're using an IDE like Thonny, install Python 3.7.9 (depends on how updated your IDE is).
# Download your version of Python and click the executable. Then install after receiving the UAC prompt (Windows).