Skip to content

Python

Python is a powerful scripting/programming language widely used in scientific processing and analysis: https://www.python.org/

Download and installation

There are many ways to install Python. We recommend using the Anaconda distribution, which provides a safe and flexible way for installing Python with different packages and all their dependencies. Instructions for installation on various platforms are available in the Anaconda documentation. Using Conda, a Python environment containing all required packages (modules) can be created, see suggested procedure below.

Required packages (modules)

Different Python packages (modules) are required for in different modules/themes of this course. Find the list of required packages in the .yml files. You can download the yaml files for the respective modules here:
Module 1: etrainee_m1.yml
Module 3: etrainee_m3.yml
Module 4: etrainee_m4.yml

Creating the etrainee Python environment with Conda

A recommended practice to set up Python for this course, is to create a Conda environment with all required modules (packages). If you are using Conda, you may use the following procedure to create an etrainee_mX Python environment for each module:

conda env create -f etrainee_m1.yml
conda env create -f etrainee_m2.yml
conda env create -f etrainee_m3.yml

Getting started

Basic knowledge of programming and Python are required in this course. If you are new to Python, check the resources given in the pre-module.