PyScript is a framework that allows users to create and run Python in the browser using the HTML interface.
PyScript aims to provide users with a first-class programming language that has consistent style rules, is more expressive, and is easier to learn.
And then just use the Python code between the
<py-script> tags, for example:
You may notice some slowness, if you want it to be a little faster, please download the files and link locally:
And the full HTML code here:
For more information visit the PyScript official website .