I am writing a python code that takes a text file on my computer, adds new lines, and then saves it to a new text file so that the old one doesn't get overwritten. I have all the lines I need to add the text in the right place and everything, but how do I output to a new file?
No comments:
Post a Comment