The HTML module provides two different interfaces: classes (Table, List. DownloadĬlick on the attached file below at the bottom of this page. Furthermore, while some HTML generators provide a comprehensive object-oriented model of HTML, HTML.py is meant to translate Python objects to HTML as easily as possible. HTML.py is useful when you need to generate simple HTML code without requiring to learn a templating language. Most of them are very powerful but quite complex for simple cases. There are already quite a few similar solutions for Python, either HTML generators or templating engines (see links at the end of this article). This is mostly convenient to generate reports in HTML or simple web applications in lightweight frameworks such as CherryPy. HTML.py has been developed to easily generate HTML code for tables and lists in Python scripts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |