This can be accomplished by reading the original file's contents and appending the added words to each line
example:
# changed the name to list_obj to prevent overriding builtin 'list'
list_obj = ['something','foo','foooo','bar','bur','baar']
path_to_file = "a path name.txt"
# r+ to read and write to/from the file
with open(path_to_file, "r+") as fileobj:
# read all lines and only include lines that have something written
lines = [x for x in fileobj.readlines() if x.strip()]
# after reading reset the file position
fileobj.seek(0)
# iterate over the lines and words to add
for line, word in zip(lines, list_obj):
# create each new line with the added words
new_line = "%s %s\n\n" % (line.rstrip(), word)
# write the lines to the file
fileobj.write(new_line)