Short Course

We offer a two-day course called ‘Coding for Medicine’ to both undergraduate medical students and post-graduate doctors and researchers. The next course will be run on Saturday 9th and Sunday 10th June 2018.

About the Course:

We aim to introduce students to two practical aspects of computer programming: How to write, run, debug and share simple programs, and how to think about constructing computer programs that do useful things.

We use Python as an introductory computer language, and follow a graded series of practical exercises to develop an understanding of programming concepts (types, loops, conditionals and data structures) and well as programming practices (code design, modularity, comments, defensive programming, debugging).

Course Structure:


There are no prerequisites to this course. This course is aimed at complete novices. All you need to bring is a laptop and enthusiasm.


There will be two days of structured teaching. We will cover:

  • Getting set up and how to use the command line
  • Types
  • Control loops
  • Functions
  • Programming environments
  • Input and Output and how to utilise functions
  • Debugging
  • Algorithms and Complexity
  • Error handling
  • How to get help in a computing world and how to talk to a computer scientist
  • Further Topics: Signposting of other languages, fields, and routes forward

The majority of the teaching will take place as tutorials where students code along with the instructor and are supported by teaching assistants. We have purposely kept the ratio of 6 students to 1 Teaching Assistant to allow easy interaction and to facilitate learning.

The course will be 9.30am to 5pm both days. Lunch will not be provided.


At the end of the two-day teaching course, students are challenged to write a simple but useful program for either research or a clinical problem and are given two weeks in which to submit this to the Course Instructors. During this two weeks, online support will be provided via an online chat forum.  Detailed feedback will be provided on your project.


  • Imperial College London Medical Students – FREE (15 places available)
  • Imperial College London Staff Members and Postgrad students – £130 (5 Places available)
  • External Students – £180 (10 places available)

This would be ideal for medical students, doctors, epidemiologists, clinical researchers and teaching fellows who are interested in learning to code.

Certificates will be provided to all participants with extended certificates given out to those who complete the extended project.


We will be releasing the tickets shortly which can be bought via Imperial College website.