slint/examples/printerdemo/python
Simon Hausmann e3aab79fdb Python: Improve Struct mapping
When reading, create the local equivalent of a dataclass, so that access
doesn't require ["foo"] key syntax.

Also implement the copy protocol, so that we can safely make clones of
the references returned by the ListModel.
2024-07-11 22:08:10 +02:00
..
main.py Python: Improve Struct mapping 2024-07-11 22:08:10 +02:00
Pipfile Python: Add a Python version of the Printer Demo 2024-03-07 10:08:12 +01:00
README.md Link to the Python sources from the python printerdemo README 2024-03-07 12:03:52 +01:00

Intro

This is the Python version of the Slint Printer Demo.

Prerequisites

Setup

pipenv update

Run

pipenv run python main.py

Source Code

The source code of the Python version is in main.py.