mirror of
https://github.com/NohamR/Manuel.git
synced 2025-05-24 14:22:29 +00:00
14 lines
269 B
Python
14 lines
269 B
Python
import pyexcel as pe
|
|
|
|
# Chemin d'accès du fichier ODS
|
|
ods_file = "liste.ods"
|
|
|
|
# Lecture du fichier ODS
|
|
sheet = pe.get_sheet(file_name=ods_file)
|
|
|
|
# Chemin d'accès pour le fichier CSV de sortie
|
|
csv_file = "liste.csv"
|
|
|
|
# Écriture du fichier CSV
|
|
sheet.save_as(csv_file)
|