python se houver arquivo de anexo mais criar
with open(filename, 'a+') as f:
f.write(...)
Mike Rocket
with open(filename, 'a+') as f:
f.write(...)