Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beginning-pyscript/#from-a-web-server needs python3 -m http.server #108

Open
CarlFK opened this issue May 20, 2024 · 0 comments
Open

beginning-pyscript/#from-a-web-server needs python3 -m http.server #108

CarlFK opened this issue May 20, 2024 · 0 comments

Comments

@CarlFK
Copy link

CarlFK commented May 20, 2024

https://docs.pyscript.net/2024.5.2/beginning-pyscript/#from-a-web-server

, but any static web host will do (for example github...

It doesn't include python3 -m http.server which was mentioned at the top of the page:

https://docs.pyscript.net/2024.5.2/beginning-pyscript/#an-application

If you're using your local file system
... 
python3 -m http.server

Which A) works fine and B) is my preference.

Technically the docs say run it and refresh later but for a Getting Started follow these easy steps I was expecting to be told when to run the server and browse the URL.

Explicit is better than implicit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant