An open API service indexing awesome lists of open source software.

https://github.com/filiprokita/prettyhtml

PrettyHTML is a Python program that prettifies HTML code using BeautifulSoup. With a GUI built using Tkinter, users can easily select an HTML file and apply the prettification process to it. PrettyHTML makes it quick and simple to clean up and organize HTML code.
https://github.com/filiprokita/prettyhtml

beautifier beautifulsoup gui html html-beautifier html-css-javascript python python3 tkinter

Last synced: 7 months ago
JSON representation

PrettyHTML is a Python program that prettifies HTML code using BeautifulSoup. With a GUI built using Tkinter, users can easily select an HTML file and apply the prettification process to it. PrettyHTML makes it quick and simple to clean up and organize HTML code.

Awesome Lists containing this project

README

          

# PrettyHTML

PrettyHTML is a simple Python program that utilizes the BeautifulSoup library to "prettify" HTML files.

## Installation

Before using PrettyHTML, you must first ensure that the following libraries are installed:

- tkinter
- BeautifulSoup

These can be installed by running the following commands:

```
pip install tkinter
pip install beautifulsoup4
```

Once the libraries are installed, you can download and run the PrettyHTML program.

## Usage

1. Run the PrettyHTML program by running the command:

```
python prettyhtml.pyw
```

2. Click the "Choose File" button to select an HTML file to prettify.

3. Click the "Prettify" button to prettify the selected HTML file.

4. The prettified HTML will be saved to the same location as the original file.

## Author

- Filip Rokita
- Website: www.filiprokita.com