Scientific Programming in Python (2024)
Note
The course materials Scientific Programming in Python (2024), with exception of the YouTube videos, are licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
0 – Setting up the working environment
Installing Conda and JupyterLab on Linux:
tutorial slidesInstalling Conda and JupyterLab on Windows:
tutorial slidesFirst steps with JupyterLab:
tutorial slides
1 – Python basics
About Python (a 3 minutes motivation): video tutorial,
tutorial slidesBasic (scalar) data types: video tutorial,
tutorial slides,cheat sheetControl structures: video tutorial,
tutorial slides,cheat sheetExercises:
exercises
2 – Tuples and lists
Tuples and lists: video tutorial,
tutorial slides,cheat sheetFunctions in a nutshell: video tutorial,
tutorial slides,cheat sheetExercises:
exercises
3 – Sets and dictionaries
Sets and dictionaries: video tutorial,
tutorial slides,cheat sheetString methods (a minimal selection) video tutorial,
tutorial slides,cheat sheetExercises:
exercises
4 – Functions and arrays
Functions: video tutorial,
tutorial slides,cheat sheetArrays video tutorial,
tutorial slides,cheat sheetExercises:
exercises
5 – File I/O and plotting
File I/O: video tutorial,
tutorial slides,cheat sheetPlotting video tutorial,
tutorial slides,cheat sheetExercises:
exercises,exercises data
6 – Git basics and Python modules
Setting up Git and Visual Studio Code:
tutorial slidesGit basics: video tutorial,
tutorial slides,cheat sheetPython Modules: video tutorial,
tutorial slidesExercises:
exercises,project files (Linux/MacOS),project files (Windows)
7 – Further Git features
Further Git features: video tutorial
tutorial slides,cheat sheetExercises:
exercises
8 – Unit testing and code quality analysis
Unit testing: video tutorial
tutorial slides,cheat sheetCode quality analysis: video tutorial
tutorial slidesExercises:
exercises
9 – Exceptions and API-documentation
Exceptions: video tutorial
tutorial slides,cheat sheetAPI-documentation via Sphinx: video tutorial
tutorial slidesExercises:
exercises
10 – Parallel and collaborative development with Git
Git branches: video tutorial
tutorial slidesCollaborative development via Git: video tutorial
tutorial slidesRemotely hosted Git-repositories video tutorial
tutorial slidesCheat sheet
Complete Git cheat sheetExercises:
exercises
11 – Command line arguments, packaging and distribution
Command line arguments: video tutorial
tutorial slidesPython packages: video tutorial
tutorial slidesPackaging and distribution video tutorial
tutorial slidesExercises:
exercises