Can python be used with html to create web pages or is python used strictly for creating programs and tools? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can python be used with html to create web pages or is python used strictly for creating programs and tools?

what about pages made with python?

15th Mar 2018, 1:07 PM
negadave
negadave - avatar
2 Answers
+ 1
Definetely it can. You can not only generate static pages with html content, you can also use gateway interfaces to make your python program iteract with a user (i.e. wsgi). Another example is using python as a core for your development wotk-outs on your local machine through the 'notebooks' (see jupyter, etc)..
16th Mar 2018, 1:02 PM
strawdog
strawdog - avatar
0
Python is programming language. HTML is markup language. So, in theory, you can use any programming to create or generate html files (.html). Learn how to write and use python server in your localhost pc.
15th Mar 2018, 1:51 PM
John Doe