<human>:  append to a file
<bot>: 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.