Add solutions from this article to a Jupyter notebook: https://therenegadecoder.com/code/how-to-open-a-file-in-python/ See here for an example: https://colab.research.google.com/github/TheRenegadeCoder/how-to-python-code/blob/master/notebooks/how_to_write_a_loop.ipynb