Skip to content

Instantly share code, notes, and snippets.

@herbmann
herbmann / DropboxSync.py
Last active December 16, 2015 00:28 — forked from freekrai/DropboxSync.py
Syncing Dropbox with Pythonista for iPad/iPhone. (See http://rogerstringer.com/2012/12/03/useful-pythonista-links/ for details.) This edit is designed to fix a recursive directory delete issue.
import os
import sys
import pickle
import console
from collections import namedtuple
import dropboxlogin # this code can be found here https://gist.github.com/4034526
STATE_FILE = '.dropbox_state'