write yaml file without deleting content code example
Example: write yaml file without deleting content
f = open('file_dir', 'a') #'a' means append
f.write(variable)
f = open('file_dir', 'a') #'a' means append
f.write(variable)