How to insert python into website? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to insert python into website?

4th Apr 2023, 9:24 AM
Program X
Program X - avatar
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" />
4th Apr 2023, 10:27 AM
Yousif R Wali
Yousif R Wali - avatar
+ 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.
4th Apr 2023, 10:21 AM
Setiawan Indra
Setiawan Indra - avatar
+ 3
Thanks brothers
4th Apr 2023, 11:56 AM
Program X
Program X - avatar