+ 5

Can we use html and python together in a code

Can we use html and python together? python would help in logic behind the code whereas html for images

14th Jun 2018, 3:49 PM
Sahil Danayak
Sahil Danayak - avatar
1 Resposta
+ 4
Yes. There are many python web frameworks like DJango which lets you do that. If you don't like to get into the advanced frameworks now, you can check out a simple python http server code that simply outputs html. Try it on your machine. https://code.sololearn.com/cfHGwMIN8D8N/#py In this code, I simply returned a html code that has images in it using python
14th Jun 2018, 4:59 PM
Gopal Gautam
Gopal Gautam - avatar