pymike00 / pyscript-hello

🐍 Basic code example for my youtube presentation and tutorial about PyScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyscript-hello

This is a basic example I wrote for my YouTube presentation and tutorial about PyScript.

PyScript is a new framework that allows users to create rich Python applications in the browser using HTML's interface and the power of Pyodide, WASM, and modern web technologies.


How To:

  • Download the repo
  • Open the hello-pyscript.html file with Brave or Chrome
  • Try new things, have fun and keep an eye for messages in the browser's developer console!

Notes:

  • If you wish to also use .py files you will need a dev server to avoid CORS errors
  • You can spin a dev server with python3 using "python3 -m http.server" from within the examples folder
  • On VS Code you can use the Live Server extension by Ritwick Dey

Useful Links:

About

🐍 Basic code example for my youtube presentation and tutorial about PyScript

License:MIT License