Forked from agoops/gist:dd3ec3821438b695f7c462877a0fbeb4
Created
October 28, 2021 12:07
-
-
Save Ajinkz/f8af42e4f06d2a791fdc318b469974bf 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