2 Réponses
+ 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)..
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.