Plik do małej litery Python

import fileinput

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