This lesson is an introduction to programming in Python for people with little or no previous programming experience. It uses plotting as its motivating example. Please note that this lesson uses Python 3.
This one-day course aims to answer the following questions:
How do I…
- …read tabular data?
- …plot a single vector of values?
- …create a time series plot?
- …create one plot for each of several data sets?
- …get extra data from a single data set for plotting?
- …write programs I can read and re-use in future?
Prerequisites:
- Learners need to understand what files and directories are, what a working directory is, and how to start a Python interpreter.
- Learners must install Python before the class starts.
- Learners must get the gapminder data before class starts: please download and unzip the file python-novice-gapminder-data.zip.
- Please see the setup instructions for details.
Requirements:
Participants must bring a laptop with a Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) that they have administrative privileges on.
They are also required to abide by the ARCHER2 Code of Conduct.
Timetable:
- 10:00 - Python
- 11:30 - Morning break
- 11:45 - Python
- 13:00 - Lunch break
- 14:00 - Python
- 15:30 - Afternoon break
- 15:45 - Python
- 17:00 - END
Course materials
Videos
Session 1
Session 2
Feedback
This course is part-funded by the PRACE project and is free to all.