Python: Add a Python version of the Printer Demo

This commit is contained in:
Simon Hausmann 2024-03-06 17:18:39 +01:00 committed by Simon Hausmann
parent 3b7b2411b4
commit ef9dff4965
3 changed files with 100 additions and 0 deletions

View file

@ -0,0 +1,23 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Intro
This is the Python version of the Slint Printer Demo.
# Prerequisites
* [Python 3](https://python.org/)
* [pip](https://pypi.org/project/pip/)
* [Pipenv](https://pipenv.pypa.io/en/latest/installation.html#installing-pipenv)
# Setup
```bash
pipenv update
```
# Run
```bash
pipenv run python main.py
```