Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to embed python in html

<!DOCTYPE html>
  <head>
    <link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
    <script defer src="https://pyscript.net/alpha/pyscript.js"></script>
  </head>
  <body>
    <py-script>
      print("Hello World")
    </py-script>
  </body>
</html>
Source by engineering.anaconda.com #
 
PREVIOUS NEXT
Tagged: #embed #python #html
ADD COMMENT
Topic
Name
7+9 =