<gh_stars>0
filename = 'text_files/programming.txt'

# with open(filename, 'w') as file_object:
#     file_object.write('hello python.')

with open(filename, 'a') as file_object:
    file_object.write('hello human.')
filename = 'text_files/programming.txt'

# with open(filename, 'w') as file_object:
#     file_object.write('hello python.')

with open(filename, 'a') as file_object:
    file_object.write('hello human.')
# with open(filename, 'w') as file_object: #     file_object.write('hello python.')