The following is a step-by-step guide to get a Jupyter Notebook (with IPython) up and running. (To learn more about the notebook, see Archie's IPython intro.)
Three options are discussed below:
+icon at the top of the left panel, then (under
Notebookin the new window) click
1+1in the cell, then
Install: To run your own software, it is recommended that you download and install the Anaconda package, which includes everything you will need. Click either Windows, Mac or Linux, then download and launch the installer for Anaconda Python 3.x.
Start Jupyter: After installation, find the Anaconda Navigator and start it. From the Navigator, click Jupyter Lab. You will know it's working if a new tab (labeled "Home") opens in your web browser.
Make a notebook: When Jupyter starts, the "launcher" will open in a tab
of your default web browser. From there you may start a new notebook: under
Python 3. You should see the prompt
In : at the top of the working area of the notebook.
1+1and then shift-enter to execute the code.
Codeand change it to
Markdown. Enter some text and hit shift-enter to display it. (Markdown is a simple way to format text, which you can learn more about at your convenience).
Edit a notebook: You will probably want to edit an existing notebook. You will need to download notebook to your computer.
.ipynb) file you are interested in. You can, for example, right-click (control-click on macs) on this link and save the file.
Learn more: Learn how to save and share notebooks, and how to do more complicated computations. You might start with Archie's IPy Intro. There are many resources available for learning the Python language and the IPython environment --- many of them to be found through those two links. Follow a tutorial if that is how you learn best. Most important, experiment and play with it. For specific questions, a simple google search is usually the best resource. (For example, how do you perform an inverse cosine? Just google "python inverse cosine".)
Students at Madison College have access to a Windows 10 virtual desktop that can be run from the computer terminals on campus, from your own device (laptop or mobile, on or off campus), and from the Physics lab laptops. You can get more information about this at libguides.madisoncollege.edu/technology/virtual. Starting in Fall semester 2017, these vitual desktops have the Jupyter Notebook already installed, and linked to a folder in your H: drive.
How to start the Virtual Desktop:
Working with Jupyter:
How to quit the Virtual Desktop:
Last modified on April 25, 2020 by Archie Paulson (Madison College, WI)