Append to file
❮ Print to file Binary mode ❯
examples/files/append.py
filename = 'data.txt' with open(filename, 'a') as out: out.write('append more text\n')