Python in Jupyter

From CommunityData
Revision as of 00:44, 18 January 2020 by Groceryheist (talk | contribs)

We are going to practice writing and running Python programs (often called "scripts").

TODO:

  • Make sure the notebook is in your desktop (this keeps things simple)
  • Open the notebook in jupyter tab in browser.
  • Notebook itself should encourage them to run some cells.

Download a Jupyter Notebook

Save the file at the following link to your desktop. Then open it as you were instructed previously. CDSW Jupter test notebook Champagne.pngParty.png

Test the notebook

Following the instructions in the notebook, run the cell that says:

 print("hello world")

You should see "hello world" output right below. If that works you have a working setup for Python and Jupyter. Feel free to play around in the notebook. Try it out and explore!