Where is my write out file?

You just use it.

So instead of :

file = open('order.txt','w')

you write :

file = open('/tmp/order.txt','w')

Nothing to show really.

It’s possible that if you omit the “/tmp” that it writes there anyway. You could test that by trying to open it again and read it.