Skip to content

jacobdanielrose/bookbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

BookBot πŸ“š

BookBot is a simple command-line tool that analyzes .txt book files to provide basic statistics:

  • Word Count: Total number of words in the book.
  • Character Frequency: Number of times a specified character appears in the text.

🚧 This project was developed as part of the Boot.dev Backend Developer curriculum. It serves as an introductory project to practice Python scripting and file handling.


πŸš€ Features

  • πŸ“„ Supports plain text files (.txt).
  • πŸ”’ Counts total words and character occurrences.
  • βš™οΈ Easy-to-use command-line interface.

πŸ“ Project Structure

bookbot/
β”œβ”€β”€ main.py           # Main script to run the program
β”œβ”€β”€ stats.py          # Contains functions for word and character counting
β”œβ”€β”€ .gitignore        # Specifies files and directories to ignore in version control
└── README.md         # Project documentation

πŸ› οΈ Installation & Usage

Prerequisites

  • Python 3.x (Python 2 is not supported)

Steps

  1. Clone the repository:

    git clone https://github.com/jacobdanielrose/bookbot.git
    cd bookbot
  2. Run the program:

    python3 main.py <path_to_book_file>
    

πŸ“„ License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages