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.
- Host: GitHub
- URL: https://github.com/filiprokita/prettyhtml
- Owner: FilipRokita
- Created: 2021-12-18T16:16:56.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-04T13:06:52.000Z (over 2 years ago)
- Last Synced: 2025-01-30T01:41:53.331Z (9 months ago)
- Topics: beautifier, beautifulsoup, gui, html, html-beautifier, html-css-javascript, python, python3, tkinter
- Language: Python
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
- BeautifulSoupThese 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