Advertisement
DeaD_EyE

print to file

Jan 21st, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement