Exporting your notebooks

Purpose

If you want to move your work to another Jupyter server this notebook will help you compress all your notebooks into one file. You can then download the compressed file, upload it to the other Jupyter server and uncompress it.

If you just want to move a single notebook simply download it in .ipynb format and upload it to the other Jupyter server.

1. Compress modules into one file

Run the command in the following cell to create a compressed file containing modules 1 to 8. If you only want to export certain modules remove the ones you do not want to export from the cell bellow.


In [ ]:
!tar cvfz ../modules.tar.gz \
    ../module_1 \
    ../module_2 \
    ../module_3 \
    ../module_4 \
    ../module_5 \
    ../module_6 \
    ../module_7 \
    ../module_8 \

2. Download the compressed file

Click the link bellow to download the file that was created in the previous step.

modules.tar.gz

3. Import notebooks

Log in to your other Jupyter server and navigate to utils/ImportModules.ipynb. Follow the instructions there to complete the process.

If you do not have utils/ImportModules.ipynb on the other Jupyter server save it as a .ipynb file from this server and upload it to a new folder called utils on the other server.


In [ ]: