I am trying to convert the contents a set of files to only uppercase characters. Heres the code I have so far:
import os def test(): os.chdir(\"C:/Users/Dav
def test(): os.chdir("C:/Users/David/Files") files = os.listdir(".") for x in files: inputFile = open(x, "r") content = inputFile.read() with open(x, "wb") as outputFile: outputfile.write(str.upper(content)) outputfile.close()