Skip to content

Draw a table in the command line using Python by entering HTML code as input without any library

Notifications You must be signed in to change notification settings

AbdellahBoutmad/TableMaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

HTMLTable

HTMLTable is a Python class for generating HTML tables. This simple class allows you to define table headers, add rows, and generate the corresponding HTML table code.

Features Set Headers: Define the headers for the table. Add Rows: Add rows of data to the table. Generate HTML: Generate the HTML code for the table. Installation This class doesn't require any external libraries, so you can use it directly in your Python projects. Simply copy the class code into your project.

Usage Create an Instance: Initialize the HTMLTable class. Set Headers: Use set_headers() to define table headers. Add Rows: Use add_row() to add rows to the table. Generate HTML: Use generate_table() to generate the HTML table code

About

Draw a table in the command line using Python by entering HTML code as input without any library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages