Skip to content

Instantly share code, notes, and snippets.

@muzizongheng
Created July 1, 2013 06:39
Show Gist options
  • Save muzizongheng/5898792 to your computer and use it in GitHub Desktop.
Save muzizongheng/5898792 to your computer and use it in GitHub Desktop.
convert evernote's tags to blog's categories
#create blog category by tags
tagslist = noteStore.listTagsByNotebook(authToken, notebook.guid)
categories = convertTags2Category(tagslist)
try:
for c in categories:
metaweblog.new_category(c)
except Exception as err:
print("Create category failed: ", err)
finally:
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment