You can only start the webview once. If you try to start it another time, thonny and the webview will crash. This is especially annoying because unsaved work will be gone and cannot be recovered.
-
Install qt for your operating system. You can find information about that here.
-
Install the python dependencies
pip install -r requirements.txt --user
cd /path/to/thonny/
PYTHONPATH=/path/to/thonny-webview/ python -m thonny
Click on the "Tools" section in the menu at the top of the program. And then select "Start Webview".
This project is using third party projects and libraries.
Name | Website | License |
---|---|---|
thonny | https://thonny.org | MIT |
pywebview | https://github.com/r0x0r/pywebview | New BSD license |