Results for “configuration”

4 results

  1. Challenge

    Config loader

    Load the downlink module's JSON settings over a copy of the defaults, check each value's type and range and report every problem in one go, then wrap it all in a load_config() that never crashes, even…

    Write the code Hard 3 stages project json configuration validation
  2. Challenge

    Settings with defaults

    Build a user's settings by copying the defaults and laying their own values on top with update(), so any setting they haven't changed falls back, then warn about unknown keys instead of saving them.

    Write the code Medium 2 stages dictionaries copy update defaults
  3. Challenge

    File name from data

    …call methods too: {sensor_id.lower()} . From a name The configuration form gives sensors names like Star Tracker A , and the time of the first reading as a timestamp. Build the same kind of file name…

    Write the code Easy 3 stages strings f-strings lower replace
  4. Article Python Fundamentals

    Variables and data types in Python

    …various data types for a space mission: # Mission configuration mission_name = "Mars Explorer" launch_date = "2025-07-20" crew_size = 4 is_active = True # Mission parameters orbital_parameters = {…