I said in class I would provide an example of how to write functions and store them in a .py file so you can use them in multiple notebooks. Here’s the example. You should be able to run the notebook
example-using-module.ipynb
. Check out the file `my_
http://module.py to see how the functions are defined. Check out the `run_from_command_
http://line.py to see how to run the code from the command line.