The JGU Jupyter Notebook server
The JGU Jupyter Notebook server#
Jupyter notebook’ servers are amazing to present your lab results/notes/analysis to an audience. The JGU provides a Jupyter server that avoids any software set-up from your side, it is a very simple way for you to start. Feel free to use whatever you want, but take into account that the JGU server could be down or any internet connection problem could arise. To solve that, I provide many very simple alternatives to install Python in your home/presential computer.
Using a Jupyter notebook from the JGU server#
Jupyter notebooks are web applications where you run iPython (interactive Python). More than 100 programming languages can be used there, like Julia, R, etc. Because of their versatility, Jupyter notebooks are very much used in data science.
Login with your JGU credentials, select the “Default environment” and press “Start” at the bottom of the page.
Open a new notebook: “New” and select “Python 3 (ipykerner)”
Click in the cell (the box)
Code within the cell. For instance:
Run the code of the cell: Shift + Enter (that is, Shift and Enter, with Shift already pressed). Instead you can run and create a new cell: Alt + Enter
In order to save your notebook in a .pynb file:
Select “File” and “Save as…” (give it a name with no extension). In the previous jupyter tab you can see the file saved. Note that Jupyter notebooks do not use the extension .py extension but .ipynb instead.
Last but not least!#
Set-up Python on your home and presential computer.