Skip to content

swapnanil/text_compressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

text_compressor

A simple text files compressor written in Python

Requirements Python 2.6 or higher

Usage

 python text_compressor.py source_dir destination_dir

The above command creates a new directory named destination_dir in the same root directory as the directory named source_dir with all text files compressed.

 python text_compressor.py filename

The above command compresses the file named filename and overwrites it

Utilities text_compressor.py can be used to reduce the size of html, css, xml, javascript etc. files. Hosting a website with compressed files significantly increases its speed.

The software can also be used to compress the codes of programs like c, cpp, java (programs where statements are separated/terminated with characters like ';')

Common issues In Windows, if you get the message 'python' is not recognized as an internal or external command, operable program or batch file, it's because Python is not not added to your environment path.

===========================================================================================================

About

A simple text files compressor written in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages