Python and dropbox data logger