pyscript is a javascript library that allows insert elements of python code into html files
This example shows how to use short python3 script inside html file. This is implementation of Depth-first search algorithm which calculates how many groups of "1"s are in the middle of two dimensional matrix/image filled 1 and 0.
Pyscript is a project at early stage; a little bit slow at the moment, but could be used for many things.