Python for Biologists

An introduction to programming for biologists using Python

stylised image of a snack next to an old computer

There's no escaping it - computing is an essential part of the scientist's toolkit. From coping with the data deluge by automated analysis or simulating a mathematical model of your system, coding is an essential skill for the modern biologist.

This hands-on, one-day course will introduce you to Python, a popular and powerful computer language. You will learn the basics of working with Python through the popular Jupyter system.

But Don't Panic - this course is designed for those with no existing coding experience.

What does the course cover?

The basics of programming with Python and Jupyter notebooks

The aim of course is aimed to take you from zero to hero! We introduce you to Python and Jupyter and take you from the very basics through to writing simple functions. This will involve short tutorials alternated with practical and relevant exercises - all done through live coding.

In the first half of the course we cover variables, data types, lists, loops and conditionals. Don't worry it will all become clear throughout the course and we also cover built-in and on-line documentation should you need other resources.

Plotting and statistics in Python

In the second part, we showcase some practical applications of Python. By introducing important modules (NumPy, SciPy, Pandas and Seaborn) we cover how to read in datasets and carry out simple plotting and statistics.

Due to the limited time for the course, this part is done as a “show and tell” where we demonstrate some of the more powerful things that Python can do and provide you the resources (notebooks and videos) to go away and explore these after the course. Should you wish to explore these topics further we also offer a follow-on course: Analysing and Visualising Data with Python for Biologists.

Who is the course for?

Students (at any level) and researchers at any career stage in biology and related areas of science and medicine.

No previous coding experience is needed or assumed.

If you already have some experience programming in any language then please read What does the course cover? section carefully - the course starts from programming basics (variables, conditionals, loops, etc.) and you may find our Analysing and Visualising Data with Python for Biologists course to be more appropriate.

Attendees usually work on their own laptops and are expected to install some programmes before the course. Any laptop or operating system is suitable.

A note on prerequisites

No previous coding experience is needed or assumed.

Attendees should be comfortable installing applications on their own laptops and will be required to do so before the course, details of which will be provided closer to the time. Any laptop or operating system is suitable.