Software#
“A notebook is a shareable document that combines computer code, plain language descriptions, data, rich visualizations like 3D models, charts, graphs and figures, and interactive controls. A notebook, along with an editor (like JupyterLab), provides a fast interactive environment for prototyping and explaining code, exploring and visualizing data, and sharing ideas with others.” (See the Project Jupyter Documentation)

GitHub#
“GitHub is a cloud-based platform where you can store, share, and work together with others to write code.” (See About GitHub)
The following are very brief instructions to get started. (For more information, see https://docs.github.com/en/get-started/start-your-journey/hello-world).
Sign in/up at GitHub. If you already have an account (or have a google account), go to “Sign in”. If not, then go to “Sign up”.
On Home/Dashboard, click “New” to create a repository (repo).
Name it after the class you’re in, e.g., “time-series”.
Under “Choose visibility” select “Private” (until you’re ready for the world to see your work).
Optional: If you eventually/plan to do a lot of collaborative programming with different integrated development environments (IDEs such as Stata, RStudio, MATLAB, VS Code), then I recommend installing GitHub Desktop.
Jupyter Notebook#
You may create and edit Jupyter Notebooks remotely (recommended) or locally (optional).
Remote Setup#
I recommend this setup first as it does not require installing any software, and you can program and work in any browser from any computer.
Log in to https://jupyterhub.wm.edu with your W&M credentials
Select “Default Notebook (A Python3 SciPy Notebook)”
Go to https://www.github.com/settings/tokens and create a personal access token.
Put “jupyterhub.wm.edu” for the note.
Under “Select scopes”, check the “repo” box .
Find the URL to your repo, e.g.,

JupyterHub, Git tab, “Clone a Repository”, enter URL to repo, username and token.

In the Launcher tab, click the “Python 3 (ipykernal)” button to create a Jupyter Notebook.

Local Setup#
While the Remote Setup makes it easy to get started, the interface is simple and there is no AI assistant. VS Code is a sophisticated IDE that supports lots of languages, including Python, has an extension to support Jupyter Notebooks, and has a built-in Microsoft Copilot.
Download and install VS Code for your operating system https://code.visualstudio.com/Download
Open VS Code, go to “Extensions” tab
Search for “Jupyter” and install the extension.
Search for “Python” and install the extension.
Optional: If not using GitHub Desktop, go to to “Source Control” tab
Click “Clone Repository”, then click “Clone from GitHub”.
Log into GitHub in the browser
Go back to VS Code, click “Clone Repository “ and select the repository from the drop down menu.
Optional: If Copilot is not already set up, click “Finish Setup” in the lower-right corner, then click “Setup Copilot”.
