Skip to content

Packaging as .exe (optional)

pip install pyinstaller pywebview
pyinstaller --onefile --noconsole \
  --hidden-import flask \
  --hidden-import pywebview \
  --hidden-import pywebview.platforms.winforms \
  --hidden-import serial \
  main.py

The output lands in dist/main.exe, double-click to run it; no separate Python or package installation needed.

plotly.min.js is not bundled into the .exe (about 3.5MB); it needs to be placed manually in the same folder as the .exe.