---
type: "Source File"
title: "path = \"/home/ben/infra/copecheck-cities/templates/landing.html\""
description: "path = \"/home/ben/infra/copecheck-cities/templates/landing.html\" with open(path, \"r\") as f: content = f.read() old = \"\"\"ONS workforce data. It's a blunt instrument, but it shows which local economies have the most to."
resource: "https://cities.copecheck.com"
tags: ["copecheck", "cities", "source-file", "py"]
timestamp: "2026-05-09T15:08:20Z"
site: "cities"
source_path: "copecheck-cities/patch_landing.py"
---

# path = "/home/ben/infra/copecheck-cities/templates/landing.html"

Source path: `copecheck-cities/patch_landing.py`  
Index snapshot generated: `2026-11-24T13:27:52Z`  
File modified: `2026-05-09T15:08:20Z`

```py
path = "/home/ben/infra/copecheck-cities/templates/landing.html"
with open(path, "r") as f:
    content = f.read()

old = """ONS workforce data. It's a blunt instrument, but it shows which local economies have the most to lose."""

new = """official workforce data (ONS, BLS, CSO Ireland, Statistics Canada, ABS, Stats NZ). It's a blunt instrument, but it shows which local economies have the most to lose."""

if old in content:
    content = content.replace(old, new)
    with open(path, "w") as f:
        f.write(content)
    print("OK: patched landing.html")
else:
    print("ERROR: could not find match")
```
