Search
 
SCRIPT & CODE EXAMPLE
 

HTML

pyscript python

<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="UTF-8" />
      <meta http-equiv="X-UA-Compatible" content="IE=edge" />
      <meta name="viewport" content="width=device-width, initial-scale=1.0" />
      <title>PyScript</title>

      <!-- styles and script dependencies -->
      <link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
      <script defer src="https://pyscript.net/alpha/pyscript.js"></script>
   </head>
   <body>
      <!-- title -->
      <h3>Testing python code in HTML</h3>

      <!-- python code -->
      <py-script> print('Now you can!') </py-script>
     
   </body>
</html>
Comment

PREVIOUS NEXT
Code Example
Html :: input type text cache clear 
Html :: html <footer element 
Html :: django template variable remove all spaces 
Html :: disable radio button in html 
Html :: css heading background line 
Html :: html basico 
Html :: page html exemple 
Html :: react render string as html 
Html :: font awesome tag 
Html :: safe webp image usage html 
Html :: integer input html 
Html :: angular mat slide toggle get value 
Html :: html multiple checkbox list 
Html :: change date format in html 
Html :: dart remove html tags 
Html :: how to make web page center 
Html :: add a gif a background image in html 
Html :: html input datetime-local 
Html :: html marquee 
Html :: times html 
Html :: disable input type button in html 
Html :: modal footer align left bootstrap 
Html :: bootstrap display block 
Html :: open image in new tab html 
Html :: v-on hover 
Html :: HTML <i and <em Elements 
Html :: bind script html 
Html :: highlightjs 
Html :: bootstrap jumbotron 
Html :: copy right html footer 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =