1. Easy to Set Up

Getting started with PyScript is as easy as linking to its CDN in your HTML head. You can also download its source code and host the project’s files on your own site. While the latter option has some small benefits, linking to the CDN is easier.

To start using PyScript, you can include its JavaScript and CSS files like so:

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