Python for Biologists


This is the index page for pages on a variety of topics. If you’re just getting started with Python, sign up below for a free mini-course on biological programming. You’ll get one short lesson a day for a couple of weeks, including exercises to practise your Python skills, and the course is suitable for complete beginners.

If you prefer reading a real book, you can buy a copy of Python for Biologists here. There’s also a German translation of the material here.

Comments, questions, and suggestions for the course are all very welcome – you can leave comments on each page from the list below, or email me at

Links to useful pages

Introduction and environment

Printing and manipulating text

Reading and writing files

Lists and loops

Writing functions

Conditional tests

Regular expressions


Files, programs and user input

Powered by WordPress. Designed by Woo Themes