Skip to content

Web

The app you wrote for the desktop runs in a browser from the same source. While you develop, python -m nuiitivet.web run app.py serves it from its source tree and opens a browser. For users, python -m nuiitivet.web build writes a site, and a file server or python -m nuiitivet.web serve delivers it. Between the two, the browser asks for one change to the code: the work that ran on a thread becomes a worker function, or a server function when it needs a server.