How to insert py into html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to insert py into html?

Actually, one of my friend recommend me to learn python and also he told, py has mews applications from Web developing to mobile and pc software. Now I'm just learnt few basic things in py and wanted to insert py script into am html file. But I don't know how to insert, means I don't know what tag or code I should use. If someone know, please let me know.

23rd Feb 2017, 6:30 AM
sharfudeen
sharfudeen - avatar
2 Answers
+ 4
I would advice you to check out Django, which is a very complete web framework built on Python
23rd Feb 2017, 7:12 AM
Didi Georgel Danaila
Didi Georgel Danaila - avatar
+ 2
Maybe you want to do some web developing, so that you can use some python framework to help you. Flask is a microframework for Python. I think it is helpful for beginners to learn. It includes Jinja2 template engin so that we can easily insert python scripts into html.
23rd Feb 2017, 6:57 AM
Steven Wang
Steven Wang - avatar