Skip to content

Instantly share code, notes, and snippets.

@agoops
Created February 2, 2018 20:27
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save agoops/dd3ec3821438b695f7c462877a0fbeb4 to your computer and use it in GitHub Desktop.
Save agoops/dd3ec3821438b695f7c462877a0fbeb4 to your computer and use it in GitHub Desktop.
python - write tuples to csv
with open('test.csv', 'w') as f:
writer = csv.writer(f , lineterminator='\n')
for tup in gdax_times_trades:
writer.writerow(tup)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment