Two-day introduction to Python
May 6th and 13th 2021 10am-4pm
Online, via zoom.
Organised by Adam Tyson, Steve Lenzi and SWC PyClub.
Lecturers:
- Adam Tyson
- Steve Lenzi
- Joaquin Rapela
TAs:
- Adam Tyson
- Steve Lenzi
- Joaquin Rapela
- Lars Rollik
- Spencer Wilson
- Federico Claudi
Aims
- Introduce those new to Python (and programming in general) to the language and the vocabulary and show how to install Python and the entire ecosystem (virtual environment, package manager, text editor/IDE).
- Allow new users to feel comfortable carrying out basic data analysis independently.
- To provide a common base level of knowledge for the more advanced, specialist courses that will follow.
Contents
Day 1
Morning - Introduction (Adam Tyson)
- Introduction to Python
- Installing Python
- Writing your first Python program
Afternoon - General programming (Steve Lenzi)
- Morning overview and Q&A
- Variables
- Data types
- Loops
- Conditional statements
- Loading and saving data
- Writing your first Python script
- Installing packages with pip
- Rewriting your first Python script using functions
Day 2
Further Python Programming (Joaquin Rapela)
Introductiory information for this session can be found here
Solutions to the session problems are provided here.