Refresher - Python / Jupyter¶
General information¶
Main objective¶
A main component of the exercise sessions accompanying the genomics block of the lecture, we will be using IPython notebooks in Jupyter to first recap on the programming language Python and then to use this language to implement different concepts discussed in the lecture,
We provide a Python / Jupyter refresher that you can use to re-familiarise yourself with the Python
language and the Jupyter environment. The refresher is organised as an interactive tutorial which
asks you to solve various tasks. If you would rather read through the solutions, there is an
additional notebook available (its name starting with solution_
) which you can use instead.
If you should be already experienced in the use of Python, there is a programming task at the end of the notebook that you can choose to implement instead of following the intro. If you can complete this task, you should be well prepared for the coming lectures.
Learning objectives¶
Students can use the Jupyter notebook environment for interactive work with Python
Students can use standard Python language features to write functions and small programs for data analysis and visualisation
Resources¶
This section requires the use of Jupyter on Cousteau. You should have therefore completed the Setup .
You can access Jupyter on our server through this link: http://cousteau-jupyter.ethz.ch/
Refresher¶
Open the Jupyter-Hub (http://cousteau-jupyter.ethz.ch/) and in your notebook folder we provide a Python/Jupyter refresher that you can use to re-familiarise yourself with the Python language and the Jupyter environment.