Start the garden log

Demo ID
acdf1782ce8c1f031a086c3c15b66219b149bc791f0e8d766a2fbb2d4a949158
Author
Demo Author
Date
2026-11-02T09:15:00Z
Parent
none (first commit)
Files
Browse this revision

Demo commit. Adds a README, a plant list and a script that prints it.

3 changed files

added README.md view file

@@ -0,0 +1,5 @@
1 + # demo-garden-log
2 +
3 + Sample project for the Pebble browser demo. Not a real project.
4 +
5 + Usage: python garden.py

added garden.py view file

@@ -0,0 +1,11 @@
1 + """Print the plants in plants.csv (demo)."""
2 + import csv
3 +
4 +
5 + def load(path="plants.csv"):
6 + with open(path, newline="") as f:
7 + return list(csv.DictReader(f))
8 +
9 +
10 + for plant in load():
11 + print(plant["name"])

added plants.csv view file

@@ -0,0 +1,4 @@
1 + name,room
2 + fern,bathroom
3 + basil,kitchen
4 + snake plant,hall