human
append to a file
assistant
Here is some code to append to file 'test' content 'koko'

open('test', 'a+b').write('koko')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.