+4

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

6/14/2018 3:49:35 PM

Sahil Danayak

2 Answers

New Answer

+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

+2

Well, I don't think so. You should search for it on the Internet.