Type to search…

PyScript

PyScript is an open source platform for Python in the browser.

Introduction

PyScript is an open source platform for Python in the browser.

All PyScript applications need three things:

  • An index.html file 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.json or pyscript.toml file.
  • Python code (usually in a file called something like main.py) that defines how your application works.

Getting Started

Beginning PyScript

Resources

You're reading a preview.

Sign in with Google to read the full page. A Google account includes 5 free pages in total; students and teachers read their course pages without limit.

Sign in