Skip to content

Instantly share code, notes, and snippets.

View PatonLewis's full-sized avatar

Paton J. Lewis PatonLewis

View GitHub Profile
@PatonLewis
PatonLewis / convertcsv.py
Last active October 17, 2020 23:46
Convert Toodledo CSV file to Todoist CSV format
#!/usr/bin/python3
import csv
skipRow = True
with open( 'toodledo_current.csv', newline = '' ) as inFile:
reader = csv.reader( inFile )
with open( 'todoist_import.csv', 'w', newline = '' ) as outFile:
writer = csv.writer( outFile )
writer.writerow( [ "TYPE", "CONTENT", "PRIORITY", "INDENT", "AUTHOR", "RESPONSIBLE", "DATE", "DATE_LANG", "TIMEZONE" ] )