(path: Path)
| 15 | |
| 16 | |
| 17 | def read_csv(path: Path) -> List[Dict[str, str]]: |
| 18 | with path.open("r", encoding="utf-8-sig", newline="") as handle: |
| 19 | return list(csv.DictReader(handle)) |
| 20 | |
| 21 | |
| 22 | def write_csv(path: Path, rows: List[Dict[str, object]]) -> None: |