Context
As we have introduced in this article, one of the multiple services and benefits WEkEO offers to its users is the WEkEO JupyterHub, where users can run notebooks and scripts.
You might need to run your work on your computer or a virtual machine, or pass the script to someone else. Good news! There is a simple way to transform your notebook into a Python file in order to download it locally.
In this article, we'll show how you can export a Python script from the WEkEO JupyterHub!
Export Python scripts from JupyterHub
To export a notebook as a Python file from the WEkEO JupyterHub, follow these steps:
Click on File
Click on Export Notebook As...
Click on Export to Executable Script
All non-code cells (Markdown, raw text) will be put in #comment
in the script file.
And tadaaaa!
Your Python file will be ready for execution! π
What's next?
If you want to know more about the WEkEO JupyterHub and its computing resources, here are some articles:
Several articles are available in the WEkEO Help Center, but if you have any questions, issues or suggestions, feel free to contact us through a chat session available in the bottom right corner of the page.