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.
- π Supports plain text files (
.txt). - π’ Counts total words and character occurrences.
- βοΈ Easy-to-use command-line interface.
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
- Python 3.x (Python 2 is not supported)
-
Clone the repository:
git clone https://github.com/jacobdanielrose/bookbot.git cd bookbot -
Run the program:
python3 main.py <path_to_book_file>
This project is licensed under the MIT License.