SWD1a: Introduction to Python programming

Booking for this course is through the IT Training Unit. Click here to book

Workshop content

PLEASE NOTE: This course runs as a series of four half-day workshops, usually one week apart. Please do not apply for this course unless you are able to attend ALL the sessions. This is an introduction to programming in Python for people with little or no previous programming experience. It uses plotting and visualising data as its motivating example based on an established research dataset. The course is suitable for attendees from all research domains and we will use a Web based programming environment (a Jupyter Notebook) which means you will be able to apply the ideas you learn on the course straightaway without having to install any software at home or at work.

At the end of the workshop, attendees will be able to:

  • How to run Python programs

  • Storing data in computer programs (using variables and data types)

  • Using built in functions in programs

  • Avoiding and fixing errors in programs

  • Using software other people have written (libraries)

  • Reading tabular data and simple statistical analysis

  • Plotting data

  • Storing multiple values using lists

  • Repeating things using LOOPS

  • Creating functions

  • Making programs do different things for different data (Conditionals: IF statements)

  • Writing simple tests: making sure our programs behave properly

  • Programming style

Prerequisites

None

Duration

Four half-day sessions

Frequency

This course usually runs once each academic year. If you would like a bespoke version of this course run in your department then please contact us.

Suitability

This course of four half-day workshops is suitable for all research staff and students.