Command line application which takes advantage of Python’s built in capabilities for reading and writing files. It prompts the user to submit a series of words to fit each of the required components of the Madlib template. With the collected user inputs, the app populates the template, resulting in a completed Madlib to the user in the command line.
pip install pytest
- N/A
-python3 madlib.py
- N/A
- Run tests by activating virtual environment and running
pytest -scommand in command line - Tests includes the following functions:
read_template,parse_template, andmerge