Level of education
Bachelor's degree +1
ECTS
4 credits
Training structure
Faculty of Science
Hours per week
36h
Description
This module is an introduction to using Python for students pursuing a degree in science. It covers concepts in algorithmics and the Python language, but the approach is primarily geared toward practical applications in science. The examples will therefore focus on issues related to other first-year subjects.
Objectives
Learning how to use Python in the context of science.
This includes (i) getting to grips with the digital environment (under Linux) (ii) the Python language concepts needed to write simple programs (iii) the algorithmic approach, which consists of making a concrete problem solvable by a computer program (iv) implementing tools to exploit and analyze the results (and in particular the creation of graphs).
Teaching hours
- Python for Science - TutorialsTutorials30 hours
- Python for Science - CMLecture6 hours
Mandatory prerequisites
high school science level
Knowledge assessment
CCI
Syllabus
Syllabus:
→ getting to grips with the environment (Linux, file management, editors, IDE)
→ Python elements (imperative programming: variables, functions, duck typing, lists, logical conditions, loops, etc.)
→ algorithmic approach (breaking down a problem)
→ searching for errors in code: ‘debugging’
→ Python as a tool for science
→ visualization of mathematical functions and numerical data
→ numpy and matplotlib (practical elements)
→ exploration of specific areas of science (mathematics, physics, chemistry, electronics, mechanics, etc.)