Add headers to datecsv output
This commit is contained in:
parent
e2ab015218
commit
def6fca403
1 changed files with 1 additions and 0 deletions
|
@ -75,4 +75,5 @@ def getTweetsByDate(strings = [], path = tools.config.dbpath, fr = "", to = ""):
|
|||
|
||||
if __name__ == "__main__":
|
||||
strings, fr, to = dateArgs()
|
||||
tools.printCSV([["Date", "Tweets"] + [s for s in strings]])
|
||||
tools.printCSV(getTweetsByDate(strings = strings, fr = fr, to = to))
|
||||
|
|
Loading…
Reference in a new issue