file to lowercase python

53

file to lowercase python -

import fileinput

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

Comments

Submit
0 Comments