Since the material in the notebooks will not be available after completion, per class notes I am trying to download the programming assignment notebook. But I run into the following issues
Downloading as PDF just gives error
Downloading as .html doesn’t download the images
The slides.html download also doesn’t download properly, only the first slide seems to download.
Would appreciate if we can get the PDF download to work for future reference of the work.
Not all options from the Download list are available. However, if you want a copy of the assignment, the following file formats do work:
1)notebook,
2)html,
3)markdown
I looked through the topic on DLS FAQ as well. However when I download the .html version the figures (diagrams) in the Notebook don’t download. And Pdf download just gives error and doesn’t do anything. I am on Macbook Pro M1.
Did you follow the link on the FAQ Thread to this thread? The point of that is that it downloads all the files, not just the notebook, so that you could potentially execute the notebook in another environment.
Hi Paul,
That thread you linked doesn’t work for DLS Course1 week4. I have tried it myself.
It seems that the only way to download a file is by selecting the ‘Download As’ option.
Hi @stibrewal ,
The reason for the missing diagrams is because the images are kept in the images sub-directory under the file tab. Currently there is no option to download the images.
In both cases, I got the usual Files.zip zip file with the whole tree of files.
Did you get some kind of error when you tried that? Or was the zip file incomplete in some way? If so, we should report that to the course staff or Coursera.
One thing to check is whether the “current working directory” of your notebook is set correctly when you start it up.
Add a code cell and use linux shell commands to figure that out:
!pwd
will show the current working directory. And then this will show the contents of whatever directory is current:
!ls -l
If it is not as expected, then you need a cell early in the notebook that does something like:
!cd the/correct/directory
The syntax of starting a line with “!” (exclamation point) says that the rest of the line is a linux shell command.
Note that there may also be ways to affect the working directory in terms of how you invoke Jupyter, but that is beyond the scope of the courses here. If you want to play games like this, then you need to read the documentation for Jupyter and other associated tools.