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:
We are user-driven and we implement users' suggestions, so feel free to contact us:
through a chat session available in the bottom right corner of the page
via our contact webpage
via e-mail to our support team (supportATwekeo.eu)
Regardless of how you choose to contact us, you will first be put in touch with our AI Agent Neo. At any time, you can reach a member of the WEkEO User Support team by clicking on "talk to a person" via chat, or by naturally requesting it in reply to Neo's email.