- Terminal and Package Manager Setup (Mac, Windows)
- UNIX-based Command Line Basics
- Python Environment Setup
-
Install Python 3.7 via Homebrew:
brew install python@3.7
-
Set Python 3.7 to be the default, and modify the PATH:
mkdir ~/pythons ln -s /usr/local/opt/python@3.7/bin/python3 ~/pythons/python ln -s /usr/local/opt/python@3.7/bin/pip3 ~/pythons/pip echo >> ~/.zshrc echo 'export PATH="$HOME/pythons:/usr/local/opt/python@3.7/bin:$PATH"' >> ~/.zshrc
-
Quit Terminal (Command+Q) and re-open it.
pythonshould now be the latest Python 3.7.
Microsoft has kindly documented the full process at: https://docs.microsoft.com/en-us/windows/python/web-frameworks
Please complete the following sections of that documentation:
✅ Set up your development environment
✅ Install Windows Subsystem for Linux (NOTE: we covered this already)
✅ Set up Visual Studio Code
✅ Create a new project
✅ Install Python, pip, and venv
✅ Create a virtual environment
✅ Open a WSL - Remote window
✅ Install the Microsoft Python extension
✅ Run a simple Python program
At this stage you do not need to complete the following sections of that documentation:
🚫 Hello World tutorial for Flask
🚫 Hello World tutorial for Django