Skip to content

Repository files navigation

🐍 Learn Python for Beginners — Boot.dev

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.


📌 About the Course

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

⚙️ Local Development & Testing Setup

To mirror the automated testing environment used by Boot.dev on my local machine:

  • Unit Testing: Exercises feature paired main.py (solution) and main_test.py (unit runner) files.
  • Running Tests Locally: Tests are run from the terminal using relative execution paths:
    python3 main_test.py
    

Requirements

  • Python 3
  • VS Code
  • VS Code Python extension

Setup

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

Running tests

The repository provides two VS Code tasks:

  • Boot.dev: Run — runs the regular tests.
  • Boot.dev: Submit — runs all tests, including tests marked submit.

They can also be selected from:

Terminal → Run Task...

Recommended VS Code shortcuts

Ctrl+Enter        → Boot.dev: Run
Ctrl+Shift+Enter  → Boot.dev: Submit

These shortcuts must be configured in the user's VS Code keybindings.json.

Pytest markers

Tests marked with:

@pytest.mark.submit

are excluded from Boot.dev: Run and included in Boot.dev: Submit.

About

Completing boot.dev's course "Learn Python for Beginners".

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages