Skip to content

A small python programm to count the occurances of a letter in a file and visualize it

License

Notifications You must be signed in to change notification settings

JohannesDev/Letterstat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Letterstat

Letterstat is a small python programm written to analyse the occurence of ASCII characters in a specific file. The results can be exported to a vector graphic (.svg). Image of Letterstat

Installation

  1. Clone the project or download it as a .zip file
  2. Make sure you have installed python
  3. Install pygal if you haven't already
    pip install pygal

Usage

  • Start your terminal in the project directory
  • To execute the program execute python letterstat.py
  • There are optional parameters:
    • -i <input file path>
    • -s <graph size>
    • -o <output filename>

Example:

python letterstat.py -i folder/file.txt -s 10 -o graph.svg

Contributing

If you find an error feel free to submit an issue or pull request

About

A small python programm to count the occurances of a letter in a file and visualize it

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages