chore: initialize containerized Python learning workbook (2026 DevOps/SRE)

This commit is contained in:
soda64 committed 2026-11-30 22:55:56 +01:00
commit ae4c421815
63 files changed
+1273

No files matched your search

@@ -0,0 +1,10 @@
# 03 — Napisy i pliki (`f-string`, `pathlib.Path`, `with open`)
## Zadania (`strings_files.py`)
1. `parse_key_value_lines(raw: str) -> dict[str, str]` — sparsuj linie `KEY=VALUE`, ignorując puste linie i komentarze `#`.
2. `count_non_empty_lines(path: Path) -> int` — policz niepuste linie w pliku tekstowym (użyj `with path.open(...)` lub `read_text`).
## Uruchomienie testów
```bash
make test MOD=01-core/03-strings-files
```