Syllabus

  1. 01Setting Up VS Code for PythonInstall Visual Studio Code, find your way around its interface, add the Python extension, choose an interpreter and virtual environment, and run your first program.3 lessons
    1. 01Getting Started with VS Code
    2. 02The Python Extension, Interpreters and Virtual Environments
    3. 03Running Your First Program
  2. 02Debugging PythonApproach bugs methodically, read tracebacks, use logging instead of stray prints, drive VS Code's debugger with breakpoints and stepping, and debug from the terminal with pdb.4 lessons
    1. 01The Debugging Mindset
    2. 02From print to logging
    3. 03The VS Code Debugger
    4. 04Debugging in the Terminal with pdb
  3. 03Python Unit TestingWrite tests before code with test-driven development, use Python's unittest framework and its assertions, organize tests with fixtures and decorators, and run and debug tests from VS Code's Testing view.4 lessons
    1. 01Test-Driven Development
    2. 02unittest Basics
    3. 03Fixtures, Exceptions and Skipping
    4. 04Running and Debugging Tests in VS Code