#!/usr/bin/env python # coding: utf-8 # This notebook uses the commandline tools `cowsay` and `lolcat`, which were automatically installed because we included them in our apt.txt file. # # The cell uses them in a system shell (note the [exclamation mark](https://ipython.readthedocs.io/en/stable/interactive/tutorial.html?highlight=shell#system-shell-commands)) to fancify the Zen of Python. # # * Note: These tools were installed to `/usr/games` by the system's package manager and that directory is not in the [path](https://en.wikipedia.org/wiki/PATH_(variable)) by default. The `postBuild` file is used to add `/usr/games` to the path. # In[ ]: get_ipython().system('python -c "import this" | /usr/games/cowsay | /usr/games/lolcat')