Created
February 2, 2018 20:27
-
-
Save agoops/dd3ec3821438b695f7c462877a0fbeb4 to your computer and use it in GitHub Desktop.
python - write tuples to csv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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