Renommer données_en_table -> donnees_en_table

Suppression des accents pour éviter les problèmes d'encodage

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-28 00:03:13 +01:00
parent eb0adc6cc5
commit 66323aac75
16 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
import csv
def import_csv(fichier):
lecteur = csv.DictReader(open(fichier + '.csv', 'r'))
return [dict(ligne) for ligne in lecteur ]
def select(table, critere):
def test(ligne):
return eval(critere)
return [ligne for ligne in table if test(ligne)]