You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for row in c.execute('SELECT text FROM message WHERE is_from_me=1'):
if row[0] != None:
myString = row[0] + u'\n'
meFile.write(myString.encode("utf-8"))
meFile.close()
# texts by person
allFile = open('output/all.txt', 'w')
for row in c.execute('SELECT text,handle.id,message.service,date,date_read,date_delivered,is_from_me FROM message INNER JOIN handle ON message.handle_id = handle.ROWID ORDER BY handle.ROWID,date'):