Two-day introduction to Python
November 25th - 26th 10am-4pm
Brasserie Seminar Room, Sainsbury Wellcome Centre, UCL.
Organised by Adam Tyson, Steve Lenzi and SWC PyClub.
Lecturers:
- Adam Tyson
- Steve Lenzi
- Joaquin Rapela
- Maxime Rio
TAs:
- Elina Jacobs
- Antonin Blot
- Spencer Wilson
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
- Introduction to Python
- Installing Python
- Editing Python files (IDE, text editor etc)
Afternoon - General programming
- Morning overview and Q&A
- Variables
- Data types
- Loops
- Conditional statements
- Loading and saving data
- Writing your first Python script
- Installing packages with pip
Day 2
Morning - Software Carpentry
N.B. This work has been derived from some great material from Software Carpentry
- Day 1 overview and Q&A
- Basic command line
- Installing & using git
- Simple git workflows
- Remote repositories (github/gitlab etc)
Afternoon - Further Python Programming
- Morning overview and Q&A
- Functions
- Importing third party library (numpy)
- Organising your project, importing functions
- Push your project to github
- Clone someone elses project, and import their functions