Date: 24 - 28 November 2025

Language of instruction: English

Application Deadline: 13 October 2025 @ 23:59

Course content
This course provides a practical introduction to the writing of Python programs for the complete novice. Participants are led through the core aspects of Python illustrated by a series of example programs. Upon completion of the course, attentive participants will be able to write simple Python programs from scratch and to customize more complex code to fit their needs.

Format
This course runs in parallel on-site in Uppsala, Umeå and Lund. Lectures will be streamed online from one site to the other two, the host site will differ depending on who is lecturing. Several teaching assistants will be present in all three classrooms all week to help with exercises and questions. When registering you will be asked to which site you apply.

The course consists of a mix of presentations, demonstrations, and practical exercises (either in the lab with assistants or on your own). Prior to the course, you can read a companion book “Programming Python”, or “Learning Python”. Such a book will also prove useful for your programming tasks, after the course is over. It is however not required, and material will be presented in class.

Topics covered will include:
* Core concepts about Python syntax: Data types, blocks and indentation, variable scoping, iteration, functions, methods and arguments
* Different ways to control program flow using loops and conditional tests
* Regular expressions and pattern matching
* Writing functions and best-practice ways of making them usable
* Reading from and writing to files
* Code packaging and Python libraries
* How to work with biological data using external libraries.

Course fee
A course fee* of 3000 SEK for academic participants and 15000 SEK for non-academic participants will be invoiced to accepted participants. The fee includes lunches, coffee and snacks, and a course dinner.
*Please note that NBIS cannot invoice individuals

Link to registration form
https://forms.gle/gRtuptGuwEC7kcoaA

Contact: edu.intro-python@nbis.se

Keywords: python

Venue: Umeå University, Naturvetarhuset, room NAT.D.370, SciLifeLab Uppsala, Entrance C11, BMC, Trippelrummet, Lund University, BMC:E11079 Dialogen

City: Uppsala, Umeå, Lund

Country: Sweden

Prerequisites:

The course is suitable for complete beginners and assumes no prior programming experience (beyond the ability to use a text editor). A very basic knowledge of UNIX would be an advantage, such as navigating through folders and issuing commands at a shell prompt. We will not teach UNIX in detail: Other courses are available at SciLifeLab for it.

Learning objectives:

Upon completion of this course, you will be able to:
* Describe and apply basic concepts in Python, such as:
- Loops
- If/else statements
- Functions
- Reading/writing to files
* Being able to edit and run Python code
* Write file-processing Python programs that produce output to the terminal and/or external files
* Create stand-alone python programs to process biological data
* Know how to develop your skills in Python after the course (including debugging)

Target audience: PhD students, postdocs, researchers and other employees in all Swedish universities, in need of fundamental Python skills

Tech requirements:

Participants need to bring their own laptop with python installed for the practical exercises. A precourse session will be held to help installing the software needed.

Cost basis: Cost incurred by all

Cost: kr 3000.0 (SEK)


Activity log