Editing Python in Jupyter
From CommunityData
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
We are going to practice writing and running Python programs (often called "scripts"). | 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 === | === Download a Jupyter Notebook === | ||
Save the file at the following link to your desktop. Then open it as you were instructed previously. | |||
Save the file | [https://communitydata.science/~groceryheist/CDSW_Jupyter_test_notebook%20.ipynb CDSW Jupter test notebook] | ||
[[File:Champagne.png|100px]][[File:Party.png|125px]] | |||
=== Test the notebook === | === Test the notebook === | ||
Following the instructions in the notebook, run the cell | Following the instructions in the notebook, run the cell that says: | ||
print("hello world") | print("hello world") | ||
You should see "hello world" output right below. If that works you have a working setup for Python and Jupyter. | 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! | Feel free to play around in the notebook. Try it out and explore! | ||
[[Category:CDSW]][[Category:Shared Pages]] | [[Category:CDSW]][[Category:Shared Pages]] |