Skip to content

Instantly share code, notes, and snippets.

@daramcq
Created March 26, 2013 11:29
Show Gist options
  • Save daramcq/5244732 to your computer and use it in GitHub Desktop.
Save daramcq/5244732 to your computer and use it in GitHub Desktop.
Output your tweets into a text file
import csv
text_file = open('tweet_output.txt','w')
cr = csv.reader(open("tweets.csv","rb"))
for row in cr:
text_file.write(row[5]+" "+row[7]+"\n")
text_file.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment