Skip to content

Python · Level 2 — Intermediate

Object-oriented Python, APIs and testing

Classes and objects, error handling, virtual environments and packages, APIs and JSON, and testing with pytest.

This course’s lessons are being written; see the syllabus and plan ahead.

  • Taught by Mahdi Mashaal

Who it is for

  • Someone who knows beginner Python

After this course

  • Write tested multi-file programs
  • Fetch and process data from an API

Before you start

  • Python for beginners

Syllabus

  1. 1Object orientationComing
    1. Classes and objectsComing
    2. Inheritance and compositionComing
  2. 2Robust codeComing
    1. Handling exceptionsComing
    2. Testing with pytestComing
  3. 3The ecosystemComing
    1. Virtual environments and pipComing
    2. APIs and JSONComing
  4. 4The level projectComing
    1. Project: a report builderComing

The level project

A bot or script that pulls data from an API and builds a report

Passing this level means: ships a small real project — Ember medal