leandre.clochard
3 years ago
commit
23e54bbff0
4 changed files with 3706 additions and 0 deletions
Binary file not shown.
@ -0,0 +1,10 @@ |
|||||
|
import csv |
||||
|
|
||||
|
def lecture(fichier_csv): |
||||
|
"renvoie un tabeau" |
||||
|
with open(fichier_csv, newline='') as csvfile: |
||||
|
spamreader = csv.reader(csvfile, delimiter=' ', quotechar='|') |
||||
|
for row in spamreader: |
||||
|
print(', '.join(row)) |
||||
|
|
||||
|
lecture("jeuTests.csv") |
File diff suppressed because it is too large
Loading…
Reference in new issue