diff --git a/README.md b/README.md index c1cc9da..b1578e9 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ cd bookbot You can print the program's help message with the `-h` flag. ```sh -python bookbot.py -h +./bookbot -h ``` Download a book in text format (e.g. txt, markdown, etc). @@ -37,7 +37,7 @@ curl -L https://raw.githubusercontent.com/asweigart/codebreaker/master/frankenst Run Bookbot to produce the book report. ```sh -$ python bookbot.py books/frankenstein.txt +$ ./bookbot books/frankenstein.txt --- Begin report of books/frankenstein.txt --- 77986 words found in the document diff --git a/bookbot.py b/bookbot old mode 100644 new mode 100755 similarity index 99% rename from bookbot.py rename to bookbot index 2260cf7..824e920 --- a/bookbot.py +++ b/bookbot @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + ''' Bookbot reads a book from a text file and prints out a simple report about it to the standard output.