These scripts have dependencies as seen in the Pipfile (Beautiful Soup, lxml, Pandas, and xlsxwriter)
- open a terminal
- cd to the directory where the Pipfile file is
pip install pipenv
pipenv shell
- Make sure you are using the correct python interpreter
pipenv sync
-
python ./python_baby_names/question_1.py
-
python ./python_baby_names/question_2.py
-
python ./python_fix_logs/question_1.py
-
python ./python_fix_logs/question_2.py
- Make sure you have all the latest dependencies
pipenv sync
-
python ./python_baby_names/question_1_v2.py
-
python ./python_baby_names/question_2_v2.py
-
python ./python_fix_logs/question_1_v2.py
-
python ./python_fix_logs/question_2_v2.py
exit
pipenv --rm