Skip to content

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.

Notifications You must be signed in to change notification settings

FilipRokita/PrettyHTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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
  1. Click the "Choose File" button to select an HTML file to prettify.

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

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

Author

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published