From 3640e57718a143ad0a012cf7fd549968a3e818ee Mon Sep 17 00:00:00 2001 From: Filip Lajszczak Date: Tue, 3 Mar 2026 13:15:44 +0000 Subject: [PATCH 1/2] Mention pythonanywhere-briefcase-plugin as publishing option and link plugin's tutorial. --- docs/en/tutorial/tutorial-6.md | 6 ++++++ docs/spelling_wordlist | 1 + 2 files changed, 7 insertions(+) diff --git a/docs/en/tutorial/tutorial-6.md b/docs/en/tutorial/tutorial-6.md index 86239730..2b7a64c0 100644 --- a/docs/en/tutorial/tutorial-6.md +++ b/docs/en/tutorial/tutorial-6.md @@ -148,4 +148,10 @@ But when you press the button, you're running Python code... how does that work? ## Next steps +You can also deploy this web app to the internet using the +[pythonanywhere-briefcase-plugin](https://github.com/pythonanywhere/pythonanywhere-briefcase-plugin). +Its [tutorial](https://briefcase.pythonanywhere.com/tutorial/) picks up right where this +page leaves off and walks you through packaging and publishing to +[PythonAnywhere](https://www.pythonanywhere.com/). + 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... diff --git a/docs/spelling_wordlist b/docs/spelling_wordlist index 47fd52cf..928e5d9e 100644 --- a/docs/spelling_wordlist +++ b/docs/spelling_wordlist @@ -56,6 +56,7 @@ Pygame PyPI PyScript pytest +PythonAnywhere README repo repos From a76973a708b5ffc838090305317142bf7bff1152 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 4 Mar 2026 13:27:37 +0800 Subject: [PATCH 2/2] Minor clarifications of links to PythonAnywhere. --- docs/en/tutorial/tutorial-6.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/en/tutorial/tutorial-6.md b/docs/en/tutorial/tutorial-6.md index 2b7a64c0..d173cd42 100644 --- a/docs/en/tutorial/tutorial-6.md +++ b/docs/en/tutorial/tutorial-6.md @@ -146,12 +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. -## Next steps +## 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/). -You can also deploy this web app to the internet using the -[pythonanywhere-briefcase-plugin](https://github.com/pythonanywhere/pythonanywhere-briefcase-plugin). -Its [tutorial](https://briefcase.pythonanywhere.com/tutorial/) picks up right 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...