Skip to content

Instantly share code, notes, and snippets.

View thomasn's full-sized avatar

Thomas Nichols thomasn

View GitHub Profile
@rszeto
rszeto / convert_keep_to_notion.py
Last active March 16, 2021 07:17
Roughly converts Keep data from Google Takeout to Notion workspace manager. Some things can't be automated, like setting the Notion title or importing attachments. Notes with attachments are denoted with "***" and must be edited manually.
import json
import os
from pprint import pprint
KEEP_PATH = 'takeout-20200709T114934Z-001\\Takeout\\Keep'
NOTION_PATH = 'notion_export'
def main():
if not os.path.isdir(NOTION_PATH):