Part 2 — UI Rendering [Simplest UI Application]
In this part, you will learn to create a basic UI application.
Table of contents
Step 1 — HTML file
This is very similar to a modal window application. But now instead of a modal window — a whole browser page!
you can preview your HTML in our Application Designer
Let's create some simple HTML:
src/gui.html
Step 2 — Python Script
To keep the application running all the time, we will use the app.run
method.
src/main.py
Step 3 — Updating debug.env && config.json
Write
TASK_ID
While True Script from Part 7 todebug.env
We also need to specify the path along which our application can cache debugging dataDEBUG_APP_DIR
andDEBUG_CACHE_DIR
debug.env
Write path to GUI file to
config.json
config.json
Step 4 — Results
PreviousPart 1 — While True Script [It's all what you need]NextPart 3 — APP Handlers [Handle Events and Errors]
Last updated