Welcome to my repository for the Learn Python for Beginners course, the first step in the Boot.dev Backend Developer Path. This repository serves as a record of my progression, code solutions, unit testing setups, and notes as I build core backend programming foundations in Python.
The course covers essential Python programming concepts required for building real-world backend systems:
- Ch 1. Introduction
- Ch 2. Variables
- Ch 3. Functions
- Ch 4. Scope
- Ch 5. Testing & Debugging
- Ch 6. Computing
- Ch 7. Comparisons
- Ch 8. Loops
- Ch 9. Lists
- Ch 10. Dictionaries
- Ch 11. Sets
- Ch 12. Errors
- Ch 13. Type Hints
- Ch 14. Practice
- Ch 15. Quiz
To mirror the automated testing environment used by Boot.dev on my local machine:
- Unit Testing: Exercises feature paired
main.py(solution) andmain_test.py(unit runner) files. - Running Tests Locally: Tests are run from the terminal using relative execution paths:
python3 main_test.py
- Python 3
- VS Code
- VS Code Python extension
Clone the repository:
git clone <repository-url>
cd learn_python_for_beginners
Create the virtual environment:
python3 -m venv .venv
Install dependencies:
.venv/bin/python -m pip install -r requirements.txt
The repository provides two VS Code tasks:
Boot.dev: Run— runs the regular tests.Boot.dev: Submit— runs all tests, including tests markedsubmit.
They can also be selected from:
Terminal → Run Task...
Ctrl+Enter → Boot.dev: Run
Ctrl+Shift+Enter → Boot.dev: Submit
These shortcuts must be configured in the user's VS Code
keybindings.json.
Tests marked with:
@pytest.mark.submit
are excluded from Boot.dev: Run and included in
Boot.dev: Submit.