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)

Want to kickstart your project?Use the new AI Studio to create your code