+ 2
How to insert python into website?
3 Answers
+ 7
Use django framework đđ»or
<py-script>print(âI am python codeâ)</py-script>
Edit: do not forget to include the script in your header:
<script defer src="https://pyscript.net/latest/pyscript.js"></script>
and the css link
<link rel="stylesheet" href="https://pyscript.net/latest/pyscript.css" />
+ 5
Use a Python web framework. You can write your web application logic in Python, and use HTML, CSS, and JavaScript to create the front-end.
+ 3
Thanks brothers