Study level
BAC +1
ECTS
4 credits
Component
Faculty of Science
Hourly volume
36h
Description
This module is an introduction to the use of Python for science students. It covers the basics of algorithms and the Python language, but the approach is primarily geared towards use in the sciences. Examples are given of problems related to other first-year subjects.
Objectives
Learn how to use Python in a scientific context.
This includes (i) getting to grips with the digital environment (under Linux) (ii) the notions of the Python language needed to create simple programs (iii) the algorithmic approach, which consists in making a concrete problem accessible through a computer program (iv) the use of tools to exploit and analyze results (and in particular the creation of graphs).
Teaching hours
- Python for science - TDTutorial30h
- Python for Science - CMLecture6h
Necessary prerequisites
scientific level bac
Knowledge control
CCI
Syllabus
Syllabus :
→ getting to grips with the environment (Linux, file management, editors, IDE)
→ elements of python (imperative programming: variables, functions, 'duck' typing, lists, logical conditions, loops, ...)
→ algorithmic approach (breaking down a problem)
→ debugging code for errors
→ Python as a tool for Science
→ visualize mathematical functions and numerical data
→ numpy and matplotlib (practical elements)
→ explore specific areas of the sciences (mathematics, physics, chemistry, electronics, mechanics, etc.)