Results for “csv”

Showing 1–10 of 11

  1. Challenge

    CSV row

    Write a telemetry reading as a CSV row with print() and sep, add a header row, then switch to tabs for pasting into a spreadsheet. Real data formats from print().

    Write the code Easy 3 stages print sep csv telemetry
  2. Challenge

    Telemetry from CSV

    …the feed parser from "Parse the whole feed" at telemetry.csv: read it with csv.DictReader, using the header row for the field names, then find the hottest temperature reading, comparing the values as…

    Write the code Medium 2 stages csv csv.DictReader files open
  3. Challenge

    Telemetry pipeline

    A small but complete data pipeline: read the telemetry CSV, reject rows with unknown sensors or broken values and say why, flag readings outside each sensor's limits, and save a JSON summary for the…

    Write the code Hard 3 stages project csv json files
  4. Challenge

    Accept the right files

    Check whether a path starts with telemetry/ and ends with .csv using startswith() and endswith(), see why in isn't enough, then clean up paths with Windows backslashes, capitals and spaces first.

    Write the code Easy 2 stages strings startswith endswith paths
  5. Challenge

    File name from data

    Build eng-2_2026-03-14.csv from a sensor ID and a date, then turn a name like Star Tracker A into a safe file name, and put the file in a folder of its own.

    Write the code Easy 3 stages strings f-strings lower replace
  6. Challenge

    Parse a telemetry line

    In "CSV row" you printed a reading as comma-separated values. Now Python One 's ground software receives those lines and has to take them apart again: which part is the time, which the sensor, which…

    Write the code Easy 2 stages strings split parsing csv
  7. Challenge

    Upload router

    …extension and print where it goes: .png or .jpg images .csv telemetry anything else rejected For the camera image in the starter code: cam-1_2026-03-14.png -> images/ Use endswith() for each…

    Write the code Easy 2 stages if elif else or
  8. Challenge

    Test the pipeline

    The telemetry pipeline is now split into parse_row() and check_limits(). Write assert tests for both, good rows, rejected rows and readings right at a limit, so that each of three planted bugs makes…

    Write the code Hard 2 stages project testing assert try
  9. Article Python Fundamentals

    Python print() Function

    Master Python's print() function in space programming! Learn to display satellite data, format cosmic measurements, and create mission logs with this essential programming tool.