Skip to content

Python GUI app to display the number of lines, words and characters for a text file or a website. Then a table about number of each word is displayed and can be saved into a csv file.

License

Notifications You must be signed in to change notification settings

arasT/PyWordCounterGUI

Repository files navigation

PyWordCounter

Python GUI app to display the number of lines, words and characters for a text file or a website. Then a table about number of each word is displayed and can be saved into a csv file. Please check PyWordCounter if you want to use console script instead of GUI interface.

Screenshots

PyWordCounter GUI result from a text file

PyWordCounter result from website

PyWordCounter  csv result

How to use

This app is developped in Python2.7. It uses Pyside2-5.11 to create GUI. (Pyside2 installation guide)

Clone or Download this repository.

git clone https://github.com/arasT/PyWordCounterGUI

Extract the archive and move into it.

cd PyWordCounter

Run

Run the main script.

python PyWordCounterGUI.py

GUI instructions

  • Text File : radio button to specify if we would like to analyse a text file instead of a website. File path will be set into the input text near this radio button.
  • Browse : button to take a file to analyse.
  • URL : radio button to specify if we would like to analyse a website instead of a text file. URL will be set into the input text near this radio button.
  • Check : button to check if the website can be analysed.
  • Analyse : button start analysis and display result into the middle of the window as a table.
  • Export : export the results into a csv file.
  • Length : filter the result by showing only word having a length greater or equal to the specified length.
  • Times : filter the result by showing only word that repeat equal or more than the specified number.

License

The MIT License. Further details see LICENSE file.

Contributing

Please fork if you want to contribut to this project.

About

Python GUI app to display the number of lines, words and characters for a text file or a website. Then a table about number of each word is displayed and can be saved into a csv file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages