RSE - Plotting and Programming in Python (Day 1 of 2)

Thursday 22 February 2024, 9:00am to 4:00pm

Venue

Open to

Staff

Registration

Free to attend - registration required

Registration Info

Registration required. Please use the event details link provided.

Event Details

Who is this for...

Who is this for?

PhD students, Researchers, Staff

Why attend this?

If you have never used Python before and want to learn how to; have used Python but want some formal training or need to advance your knowledge; or if you have data and want to be able to plot and analyse it. This is suited to beginners and intermediate users alike.

Prerequisite skills: No programming experience required

Resources Required: You need to bring your own laptop to work on.

For the course, you will need your own computer with Python 3 installed. Instructions for installing Python 3 on your computer can be found here: https://swcarpentry.github.io/python-novice-gapminder/index.html

if you encounter any problems installing Python or have further queries, then please email the RSE team.

Learning Objectives

Part 1:

  • Understand what variables are and how to give them (assign) values to them
  • Understand what data types are available and how to use them
  • Understand what functions are and how to find help on what each function does.
  • How to read data from files and create plots with the data

Part 2:

  • How to make Python do many things with one command (for loops)
  • How to make the code produce different outputs depending on the inputs (conditionals, if statements)
  • How to process multiple datasets in one function.
  • How to re-use code by writing functions.
  • How to make your code more readable

Duration: One day (10 minute breaks every hour, and a 30 minute break for lunch [bring your own])

Course material: https://swcarpentry.github.io/python-novice-gapminder/

Location: Digital Scholarship Lab in the Library

Speaker

Robin Long

Contact Details

Website

https://lancaster-uk.libcal.com/event/4124490