with open("files/fruits.txt", "r") as myfile: content = myfile.read(90) with open("files/fruits-copy.txt", "w") as myfile: myfile.write(content)