Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Exercices Python

This section provides exercises that align with the Python basics presented in this eBook. Code templates including README markdown files with instructions for the exercises are hosted in external repositories (visit https://github.com/Ecohydraulics and look for the Exercise- repositories).

Le contenu de la formation comprend la conception des réservoirs, le calcul des périodes de retour des inondations, des calculs hydrauliques simples et des estimations du transport des sédiments. Chaque exercice commence par une explication du contexte physique des applications.

Le tableau suivant résume l’application de la pratique et les aspects de codage présentés dans les exercices des pages suivantes :

ApplicationTraining goal
1d Hydraulics (Manning-Strickler solver)loops, iterations, and functions
Reservoir design (Sequent Peak)data handling with NombrePy , communication with csv files
Flood return periods calculationdata and csv file handling with Pandas
1d sediment transportOrientation de l’objet et classes, Manipulation du cahier de travail (xlsx), and plotting
Create a Graphical User Interface (GUI)familiarize with Interfaces utilisateur graphiques