Command line Python scripts analyzing shakespeare.txt file
Command line Python scripts analyzing shakespeare.txt file
If user provides a second argument, all output is written to that file.
Example: python text_stats.py shakespeare.txt <output-file>
User must provide the first word of the sentence and the number of words of the sentence as arguments.
Example: python generate_text.py shakespeare.txt king 500