Skip to content

Latest commit

 

History

History

Day23

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Website Information Retrieval

This Python program retrieves information about a website such as its creation date, expiration date, last updated date, registrar, and registrant details.

Description

The program is a Python implementation of a word counting function. It takes the path to a text file as input and returns the number of words in the file.

The count_words function defined in the code reads the contents of the file, replaces all non-alphanumeric characters with spaces, splits the content into words, and counts the number of words.

Usage

  1. Clone or download the repository to your local machine.
  2. Navigate to the day23 directory.
  3. Run the program using the following command: python word_count.py.
  4. Enter the path to the text file when prompted.
  5. The program will display the number of words in the file.

Contributing

If you have suggestions or find a bug, please open an issue on this repository.

License

This program is licensed under the MIT License. See the LICENSE file for more information.