Step 1.1: Install tools
To get started we need to install following software:
- Python itself - allows us to run python programs.
- VS Code - allows us to easily write code.
Install Python:
- Go to Python website or google “python download”
- Click the download button.
- Execute the installation file once it is downloaded.
- Follow the normal installation steps.
When installing make sure to check the add to PATH checkbox.
Install VS Code:
- Go to their website or google “VS Code download”
- Click the download button.
- Execute the installation file once it is downloaded.
- Follow the normal installation steps.
When installing make sure to check the add to PATH checkbox.
Step 1.2: Setup VS Code
Install VS Code extensions:
- Open VS Code
- On the left-hand side click to Extensions.
- Search and install following extensions:
- Python (Microsoft)
- helps you to write Python code by giving you tips and hints.
- checks the code for syntactic errors and helps you to find them quickly.
- Code Spell Checker
- Helps to find spelling errors.
- Python (Microsoft)
Update settings.
- Go to File -> Preferences -> Settings:
- Auto save. Set it to afterDelay.
- As the name states, automatically saves your work each second.
- Bracket Pair Colorization. Set it to Enabled by clicking to the checkbox.
- Provides visual differentiation between different parenthesis.
- Auto save. Set it to afterDelay.