Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

pyscript

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

PyScript currently implements the following elements:

<py-script> can be used to define python code that is executable 
within the web page. The element itself is not rendered to the page 
and is only used to add logic </py-script>

<py-repl> creates a REPL component that is rendered to the page as 
a code editor and allows users to write executable code </py-repl>
Source by pyscript.net #
 
PREVIOUS NEXT
Tagged: #pyscript
ADD COMMENT
Topic
Name
7+6 =