Gentle hands-on introduction to Python programming

ELIXIR
online
programming
live training

Gentle hands-on introduction to Python programming

Target Audience:
All scientists
Location:

Online

General context

This course is organised over three full days. With the help of plenty hands-on exercises, you will get introduced into the different types of variables in python, the peculiarities of python and good programming habits. This course will provide you an ideal stepping stone for further developing programming skills in Python. 

Objectives
  • Learning the basics of Python programming: different variables, reading files, writing files, conditional statements
  • Being able to write a basic Python script from scratch
Required skills

Aimed for people with no programming skills whatsoever. If you want to follow a more advanced training (e.g. machine learning) and you have little/no experience with Python, please register for this training.

Program

-

- Short introduction to programming and Python
- Print statement - showing what your program does.
- Variables and operators - how to do math
- Conditions - deciding what to do
- Loops - doing the same thing with different information

-

- Lists and tuples - how to handle a range of variables
- File reading and writing - getting hold of data and dumping your results
- Functions - re-using the same bit of code

-

- Imports - what functions does Python provide?
- Dictionaries - organising your variables
- Plots- plotting basic figures with matplotlib

 
Throughout the course we'll stress the importance of 'good programming practice', such as clear variable names and adding comments to your code.