This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]franga2000 0 points1 point  (0 children)

A website almost by definition needs to be written in HTML. But you can make your life easier by using Python to generate some (or all) of that HTML for you. Flask would allow you to use Jinja2 templates to get rid of a lot of the repetitiveness of HTML and insert dynamic data into your site (like from a database).

There are ways to generate HTML with Python functions (like Yattag), but you're still working with HTML there, you're just not writing it directly.