How to use python inside html code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to use python inside html code?

How to use python inside html code? how to connect a python code to interact with page elements?

10th Apr 2019, 7:22 PM
khalil Saghiri
khalil Saghiri - avatar
4 Answers
+ 6
10th Apr 2019, 10:58 PM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 8
I did some research about it ... And here is a brief answer : yes u can use python ... But! , u can use it in a backend programing ( or as we say server side language ) like php . not as css and js languages because they are for frontend development . If u want more info about it here is some helpful websites : - https://www.quora.com/How-do-you-use-Python-to-make-websites - http://karrigell.sourceforge.net/en/pythoninsidehtml.html - i hope i cleared some ambiguity ... 😊
10th Apr 2019, 10:57 PM
SalimLouDev
SalimLouDev - avatar
+ 6
The next thing is, if you want to use python in your webpage, you can't make python a dynamic language like JavaScript. It's interpreted by either internal or external server.
10th Apr 2019, 11:00 PM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 2
I see
11th Apr 2019, 10:57 AM
khalil Saghiri
khalil Saghiri - avatar