File Processing Opening a file syntax: = open(, ) example: infile = open("numbers.dat", "r") Reading from file syntax: .read() .readline() .readlines() example: data = infile.read() Writing to file syntax: .write() example: outfile.write(data)