Level of study
BAC +1
ECTS
4 credits
Component
Faculty of Science
Hourly volume
36h
Description
This module is an introduction to the use of Python for students in the sciences. It will cover notions of algorithmics and the Python language, but the approach is primarily oriented towards a usefulness in Science. The examples will be based on problems related to the other first year subjects.
Objectives
Learn to use the Python tool in the context of Science.
This includes (i) getting to grips with the digital environment (under Linux) (ii) the notions of the Python language necessary to create simple programs (iii) the algorithmic approach, which consists in making a concrete problem accessible through a computer program (iv) the implementation of tools to exploit and analyze the results (and in particular the elaboration of graphs).
Necessary pre-requisites
scientific level bac
Knowledge control
CCI
Syllabus
Syllabus:
→ getting to know the environment (Linux, file management, editors, IDE)
→ elements of python (imperative programming: variables, functions, 'duck' typing, lists, logical conditions, loops, ...)
→ algorithmic approach (decompose a problem)
→ search for errors in a code: 'debugging'
→ Python as a tool for Science
→ visualization of mathematical functions and numerical data
→ numpy and matplotlib (practical elements)
→ exploration of some specific areas of Science (mathematics, physics, chemistry, electronics, mechanics, etc.)