I am trying to just do a simple
out = open('output.txt')
print('concatenated verbage', file=out)
out.close()
but after the print() block has been run, the output file is blank. I have confirmed that the block runs by taking out the ", file=out" portion of the call.
Is there an extra step necessary to make this work?