def copyFile(inFile, outFile): inf = open(inFile, "r") outf = open( outFile, "w") data = inf.read(50) while( len( data) != 0 ): outf.write(data) data = inf.read(50) inf.close() outf.close() def filterFile( inFile, outFile): inf = open(inFile, "r") outf = open( outFile, "w") line = "blank" while( len( line) != 0 ): line = inf.readline() if not ("UGA" in line): outf.write(line) inf.close() outf.close() def circleWrite(): outF = open("dataLog.txt", "w") while timeRemaining(30): lightValue = getLight("center") outF.write( str( lightValue) + "\n") turnRight(0.5,0.25) forward(1,0.75) outF.close()