DeaD_EyE

print to file

Jan 21st, 2019
99
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. with open(output_file, 'w') as output_fd:
  2.     for i, q, timestamp in transceiver:
  3.         json_data = transformer(i, q, timestamp)
  4.         print(json_data, file=output_fd)
RAW Paste Data