PrettyHTML is a simple Python program that utilizes the BeautifulSoup library to "prettify" HTML files.
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.
- Run the PrettyHTML program by running the command:
python prettyhtml.pyw
-
Click the "Choose File" button to select an HTML file to prettify.
-
Click the "Prettify" button to prettify the selected HTML file.
-
The prettified HTML will be saved to the same location as the original file.
- Filip Rokita
- Website: www.filiprokita.com