"pythonic way to modify all items in a list, and save list to .txt file",f.write('\n'.join(newList))