mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 14:51:15 +00:00
Python: Add a Python version of the Printer Demo
This commit is contained in:
parent
3b7b2411b4
commit
ef9dff4965
3 changed files with 100 additions and 0 deletions
23
examples/printerdemo/python/README.md
Normal file
23
examples/printerdemo/python/README.md
Normal 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
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue