PyScript is an open source platform for Python in the browser.
On this page
Introduction
PyScript is an open source platform for Python in the browser.
All PyScript applications need three things:
- An
index.htmlfile that is served to your browser. - A description of the Python environment in which your application will run. This is usually specified by a
pyscript.jsonorpyscript.tomlfile. - Python code (usually in a file called something like
main.py) that defines how your application works.