VVZ API is not affiliated with ETH Zurich. Data might be outdated or incorrect. Please view the official ETHZ Vorlesungsverzeichnis for binding information.

376-1725-00L 4 Credits BSC D-HEST , D-BIOL
You're viewing possible stale or outdated data. Please check the latest semester for more up-to-date information.

Introduction to Python Programming

Registration only possible for BSc HST students in 5th semester (or further). This course is a required prerequisite for the 'Foundations of Data Science' class in the 6th semester.
VVZ CR n/a

Last Updated: 2026-02-05 16:30:37

Abstract

Introduction to Python Programming provides an overview of the basic programming blocks needed to translate a problem, stated in textual form, into an algorithm that solves it. The course provides an introduction to python programming and covers basics but also Bashscripting, version controlling and an introduction to the use of computer infrastructure such as EULER.

Objective

- understand and use variables - work with common Python data types like integers, floats, strings, characters, lists, dictionaries, as well as pandas DataFrames - use and implement basic flow control, including for loops and conditionals - write Python code according to standard style guidelines - use common python packages and set-up of a coding environment - manipulate and extract data from pandas DataFrames - interpret and handle simple error messages with the help of online resources - have a general understanding of the coding workflow and typical code blocks, data and contained types

Content

- General Introduction, installation, IDEs, (virtual) environment setup - Interpreting and handling error messages, debugging, using online documentation - Data types, data containers and basic mathematical computations - Branching and looping - Writing and reading files - Writing and using functions - Data manipulation in pandas - Data visualization (seaborn, matplotlib) - Version controlling (git) and cluster submissions, simple bash scripts, slurm submission system

General Information

Language
English
Levels
BSC
Frequency
Yearly recurring

Examination

Type
session examination
Mode
written 90 minutes
Aids
None
Digital
The exam takes place on devices provided by ETH Zurich.
Completion of the bi-weekly assignment will count as 0.25 bonus for the final exam.

Registration & Places

Max Places
100
Priority: Registration for the course unit is only possible for the primary target group

Course Components

Type Title Time & Place Hours
lecture with exercise Introduction to Python Programming
90 min. weekly tutorial, 45 min video, bi-weekly assignments. Students should bring a laptop.
  • Tue 10:15-12:00 (ML H 44)
2 h weekly

Offered In