BookBot is my first Boot.dev project! This is a Python program that analyzes novels and prints a statistical report of the word and character usage found within. The learning goals are to:
- Configure a professional Python development environment on local computer
- Practice building a full project from scratch
- Deploy a Python project on personal GitHub account
- Learn how to use a professional code editor (Zed)
For more, see Boot.dev Achievements
- Fork from the
mainbranch - Download and extract .zip from your forked repository
- Add books as .txt files to
./booksfolder
python3 ~/main.py <path_to_book>python3 main.py books/frankenstein.txt
============ BOOKBOT ============
Analyzing book found at books/frankenstein.txt...
----------- Word Count ----------
Found 75767 total words
--------- Character Count -------
e: 44538
t: 29493
a: 25894
o: 24494
i: 23927
n: 23643
s: 20360
r: 20079
h: 19176
d: 16318
l: 12306
m: 10206
u: 10111
c: 9011
f: 8451
y: 7756
w: 7450
p: 5952
g: 5795
b: 4868
v: 3737
k: 1661
x: 691
j: 497
q: 325
z: 235
æ: 28
â: 8
ê: 7
ë: 2
ô: 1- Requires Python 3
- If not using the
./bookspath, then you must use relative path to text file