Installation

There is no need to install anything on your computer to use PyScript. Inside your HTML document, include the following two tags. Ideally, these should go inside your <head> tag, but it is also fine to put them inside the <body> tag:

<script defer src="https://pyscript.net/releases/2023.05.1/pyscript.js"></script>
<link rel="stylesheet" href="https://pyscript.net/releases/2023.05.1/pyscript.css">

There is no need to install anything on your computer to use Pyodide. Inside your HTML document, include the following tags. Ideally, this should go inside your <head> tag, but it is also fine to put it inside the <body> tag:

<script src="https://cdn.jsdelivr.net/pyodide/v0.23.4/full/pyodide.js"></script>