Python Sample
This page is seeded specifically so you can verify Prism is wired up correctly on a real installed page.
class CutieWindow:
def __init__(self, title: str) -> None:
self.title = title
self.widgets = []
def addWidget(self, widget: str) -> None:
self.widgets.append(widget)
def describe(self) -> str:
return f"{self.title} with {len(self.widgets)} widgets"
window = CutieWindow("CutiePy Demo")
window.addWidget("NavigationBar")
window.addWidget("CodePanel")
print(window.describe())
