Faculty of Medicine's internal website


Introduction to programming

Introduction to Programming, MEIPR1F

Course organizer
 Andreas Heuer, e-mail

 Andreas Heuer

Target group 
 The course is intended for anyone who wants to use programming in their research. This is a course for absolute beginners which will teach you the very basics of programming so that you can embark on independent studies or follow one of the more advanced courses afterwards. No previous knowledge is required. The course is offered first and foremost to doctoral students at the Faculty of Medicine. The course is subject to availability and open to doctoral students at another faculties, as well as other applicants of any level, but needs to be affiliated with Lund University.

Location and time

Autumn 2021: week 44, 1-5 November

 1,5 hp (part-time)

Number of participants 

 The course is held in English.

 None, this course does not require any previous knowledge.
 Access to a personal computer will be necessary during the lectures.

 The aim of the course is that the doctoral student after completing the course should have had the opportunity to acquire the tools needed to be able to further develop their programming skills on their own.


 The course will introduce students to the concepts and basic workings of computer code. They will develop an understanding how code works and the relation between different programming languages. Furthermore, the students will learn on two of the most widely used languages to write programs and scripts Visual Basic and Python. Students will understand some key concepts in coding such as loops, Boolean statements, if…then statements, variable declarations. Students will learn how to apply these concepts in real-(lab)-life situations. Finally, the students will learn on how to continue to develop their coding skills with online code repositories.

During the course, the following concepts will be covered:

• Computer languages and algorithms

• Visual Basic and Python

• Variables and data types

• Debugging

• Conditional statements

• Loops

• Array- and string manipulations

• Macros

Course structure
 The course is carried out by actively participating in several lectures. Questions and assignments will be discussed on the topic of the previous lecture. Programming is a skill as much as a way of thinking and it takes time to master, hence active participation is essential.

Days will be structured as follows:

9-10: Q&A
 11-16: Lectures/Practical

The lectures will be a mix between explanations and live-coding.
 Questions can be send the evening before or asked during the Q&A session.

The lectures will be recorded for off-line viewing

 Active participation in all parts of the course. Home exam.

Course literature

Apply here:

The course autumn 2021 is open for application. 

Site overview