Cody Bable

Generation

generate functionFri, 21 Apr 2023

read from one file and write to another file line by line until end of file

with open('../Data/test.txt') as f: with open('../Data/output.txt', 'w') as f1: for line in f: f1.write(line)

Questions about programming?Chat with your personal AI assistant