slint/examples/printerdemo/python
Simon Hausmann 1e3f05c983 Python: Expose Slint structs
Structs declared and exported in Slint are now available in the module namespace
with a constructor.

Fixes #5708
2024-08-13 12:04:04 +02:00
..
main.py Python: Expose Slint structs 2024-08-13 12:04:04 +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.