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.
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:
- From the Menu Bar of the notebook you are working on, click
File → Save and Checkpoint
to first save your progress. - 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:
- From the Menu Bar of the notebook you are working on, click
File → Save and Checkpoint
to first save your progress. - Click
File → Open...
, this will open your workspace. - On the top right, click
Lab Files
, this will open a panel. - 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.
- Open the notebook from the classroom.
- After the notebook opens up, click
File → Open
- 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. - 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
- (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 toRename
orDownload
each file individually in case you want to keep them before deleting. - Click on the
Help
button on the top right of the page. - Click the
Get latest version
button. - 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:
-
Method 1: Right-click the filename in the File Explorer:
-
Method 2: Use the
File
menu: