Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

python in html

<-- We can use python inside the HTML file -->
<py-script>print("Hi")</py-script>

<-- To import python file into html -->
<py-script src="./script.py"></py-script>
Source by programminghistorian.org #
 
PREVIOUS NEXT
Tagged: #python #html
ADD COMMENT
Topic
Name
2+8 =