Fichier en minuscules Python

import fileinput

for line in fileinput.input("test.csv", inplace=1):
    print(line.lower(), end='')
FriedOxygen