An introductory 2 day course to programming in Python
Time | |
---|---|
09:00-10:30 | Lectures/Exercises |
10:30-10:45 | Break |
10:45-11:30 | Lectures/Exercises |
11:30-12:00 | Lunch |
12:00-13:30 | Lectures/Exercises |
13:30-13:45 | Break |
13:45-15:30 | Lectures/Exercises |
All participants should work in a Linux-based environment (Mac is fine). Participants using a Windows PC should activate the Windows Subsystem for Linux (WSL 2) . While it is technically possible to use Python in Windows it can create problems with certain packages like geopandas.
- Installing Python via Anaconda/Miniconda
- Working with conda environments
- Installing packages
- Jupyter Lab vs VSCode
- Operators, variables, and data types
- Lists, tuples, and dictionaries
- Booleans and conditionals
- Loops and iterables
- Function declaration
- Function arguments
- Function declaration
- Function arguments
- Single Responsibility Principle
- Code style
- (Packaging?)
- Documentation
- Difference between errors and exceptions
- Catching errors and exceptions
- Throwing custom errors and exceptions