import matplotlib.pyplot as plt
import numpy as np

import os # importe le module operating system
rep_courant = os.getcwd() # la méthode getcwd() donne le répertoire courant
print(rep_courant) # affiche le chemin d'accès du répertoire courant
os.chdir("C:/MP/Info") # modifie le répertoire courant
# Exemple : os.chdir("C:/PSI/Informatique/Methodes_Numeriques")
print(rep_courant) # affiche le chemin d'accès du répertoire courant

f = open("iris.csv","r")
L = f.readlines()
f.close()
#print(L)

n  = len(L)
X = []
Y = []
specie = []
for i in range(1,n):
   L[i] = L[i].strip()
   L[i] = L[i].split(",")

print(L)