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.
Installation
To implement it is very easy, just include the CDN of CSS and JavaScript in your code HTML, example:
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 .
python
html
Marcos Oliveira
Software developer