Begin by copying and pasting the following code into a Jupyter notebook, and running it. It will download the app for today's lab and generate the code to run it.
# download the code import requests r = requests.get('https://blue.math.buffalo.edu/306/ppd.py') with open('ppd.py','wb') as f: f.write(r.content) # generate command to move to folder and run code import os current_folder = os.getcwd() print('Copy and paste the following two commands into a terminal (Mac, Linux) or Anaconda Prompt (Windows):') print() print('cd "' + current_folder + '"') print('python ppd.py')
Then follow the steps in the paper worksheet the TA will give you.
Here is how to get to the Anaconda Prompt in Windows, or the Terminal in MacOS: