Python
Installation
For Windows
you can either install python from the Python Official Website, or from Microsoft Store on your computer.
I, personally, had a smoother experience using the Microsoft Store.
You may need to updated the PATH
environment variable after installation. Your installer will indicate if you need to do that.
For macOS
macOS used to come with Python 2.7 pre-installed. This is an old version that we will not be using in this class.
To get the latest version of Python, you can install if from the Python Official Website.
Homebrew for macOS
I recommend that you Install HomeBrew and use that to download the latest version of python.
Homebrew is a utility tool that will allow to install a lot of command line tools and applications easily using a simple command line interface.
Once you have HomeBrew installed, you'll be able to run the following command from your terminal to get the latest version of python
brew install python
Many of the following tools can also be easily installed using homebrew.
Checking For the Installation
Once done with the installation, you can run the following command in your terminal application
python --version
OR
python3 --version
OR
py --version
at least one of those commands should return the version of python that you have installed
Installing pip
You may need to install pip indivudually if it didn't come with the python installation. You can do that by running the following command in your terminal https://pip.pypa.io/en/stable/installation/