https://github.com/code-str8/wordcount-project
Python program that reads a file and counts the number of occurrences of specific words in the text
https://github.com/code-str8/wordcount-project
Last synced: 5 months ago
JSON representation
Python program that reads a file and counts the number of occurrences of specific words in the text
- Host: GitHub
- URL: https://github.com/code-str8/wordcount-project
- Owner: Code-str8
- License: mit
- Created: 2023-10-26T19:57:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-26T23:58:15.000Z (over 2 years ago)
- Last Synced: 2025-02-06T10:29:35.210Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wordcount-project
## Description
The program should take the file name and a list of words as input from the user and output the total count of each word in the text file.
Can handle words in both upper and lower case. It ignores punctuation marks, special characters, and numbers while counting the words. It displays an error message if the file is not found or if there are any errors while reading the file.