Show HN: Palestine – JavaScript-like DOM manipulation in Python
By u84u · 2026-09-09 · 2 points · 1 comments
https://github.com/u84u/palestine
from palestine import Document, Html, Body, Div, Text doc = Document() html = Html() body = Body() doc.append_child(html) html.append_child(body) page = Div(class_="container") page.append_child(Text("Hello from Palestine")) body.append_child(page) print(doc) https://g…
Open the full discussion on BetterNews