Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/en/tutorial/tutorial-6.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ This web app is a static website - a single HTML source page, with some CSS and

But when you press the button, you're running Python code... how does that work? Toga uses [PyScript](https://pyscript.net) to provide a Python interpreter in the browser. Briefcase packages your app's code as wheels that PyScript can load in the browser. When the page is loaded, the application code runs in the browser, building the UI using the browser DOM. When you click a button, that button runs the event handling code in the browser.

## Publishing the web app

If you want, you can also try publishing this web app to the internet using the [PythonAnywhere Briefcase Plugin](https://github.com/pythonanywhere/pythonanywhere-briefcase-plugin). The [tutorial](https://briefcase.pythonanywhere.com/tutorial/) for that plugin picks up where this page leaves off and walks you through packaging and publishing to [PythonAnywhere](https://www.pythonanywhere.com/).

## Next steps

Although we've now deployed this app on desktop, mobile and the web, the app is fairly simple, and doesn't involve any third-party libraries. Can we include libraries from the Python Package Index (PyPI) in our app? Turn to [Tutorial 7](tutorial-7.md) to find out...
1 change: 1 addition & 0 deletions docs/spelling_wordlist
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Pygame
PyPI
PyScript
pytest
PythonAnywhere
README
repo
repos
Expand Down