Downloading your Notebook, Downloading your Workspace and Refreshing your Workspace

There might be some instances where you want to download your notebooks or workspace, or refresh your workspace to start from scratch. This topic contains instructions for managing your lab notebooks. Some courses host them on different platforms, so please select the one applicable to the lab you’re working on.

  1. Coursera Labs
  2. Google Colab
  3. Vocareum / AWS Sagemaker

Coursera Labs

Downloading your Notebook

In case you need to download your notebook for troubleshooting or running in your local environment, you can follow these simple steps:

  1. From the Menu Bar of the notebook you are working on, click File β†’ Save and Checkpoint to first save your progress.
  2. Click File β†’ Download as β†’ Notebook (.ipynb). This should start downloading the file into your local machine.

Downloading your Workspace

In case you need to download your entire workspace or some files for troubleshooting, or running in your local environment, you can follow these simple steps:

  1. From the Menu Bar of the notebook you are working on, click File β†’ Save and Checkpoint to first save your progress.
  2. Click File β†’ Open... , this will open your workspace.
  3. On the top right, click Lab Files , this will open a panel.
  4. Now, you can either download the entire workspace by clicking Download all files or you can select the files you want to download**.**

Note: The best way to download the supporting files for the notebook(s) is the Downloading your Workspace option.

Refreshing your Workspace

This will come in handy whenever you need to start from scratch, fetch the latest version of the assignment, or run into a 404 error.

  1. Open the notebook from the classroom.
  2. After the notebook opens up, click File β†’ Open
  3. When your workspace opens, tick the check box before your notebook file. After it is selected, press Shutdown. The icon beside the filename should turn from green to gray.
  4. Tick the checkbox again and this time choose Rename and enter any filename other than the original. For example, C1_W1_Assignment.ipynb (original) β†’ C1_W1_Assignment_v2.ipynb
  5. (Optional) Tick the checkbox of any other file that you want to get a fresh copy of (e.g. dataset files that you might have manipulated irreversibly). Then click Delete . You can also opt to Rename or Download each file individually in case you want to keep them before deleting.
  6. Click on the Help button on the top right of the page.
  7. Click the Get latest version button.
  8. Click the Update Lab button. The page will refresh and you should now see the latest version of the notebook.


Google Colab

Downloading your Notebook

If clicking the assignment link goes to a URL starting with https://colab.research.google.com, you can download your notebook by simply clicking File β†’ Download β†’ Download.ipynb.



Vocareum / AWS Sagemaker

Downloading your Notebook

You can either right-click on the file in the File Explorer, or click File in the Menu Bar. Both should have a Download option:

7 Likes