An open API service indexing awesome lists of open source software.

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

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.