The following is a step-by-step guide to get a Jupyter Notebook up and running. To learn more about what the notebook is, see Archie’s Jupyter Intro.
These options are discussed below:
+
icon at the top of the left panel, then
select a Python Notebook.1+1
in the
cell, then shift-Enter
)[*]:
to its left, it’s
still working. Sometimes import lines can take a minute or two. After
the imports it should run fairly fast.This is the recommended method for best performance.
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. Be patient, this can take many minutes.
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 Notebook
click
Python 3
. You should see the prompt In [1]:
at
the top of the working area of the notebook.
1+1
and then shift-enter
to execute the code.Code
and
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”.)
Part of Google Drive, Google Colaboratory is a way to run Jupyter Notebooks using Google Servers.
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), or from the Physics lab laptops. You can get more information about this at libguides.madisoncollege.edu/technology/virtual.
How to start the Virtual Desktop:
Working with Jupyter:
How to quit the Virtual Desktop:
Last modified: October 20 2024