slint/examples/printerdemo/python/README.md

27 lines
485 B
Markdown

<!-- 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
```
# Source Code
The source code of the Python version is in [main.py](main.py).