On Sun, 17 Oct 2010 13:51:06 -0700 (PDT) Ivanov Dmitriy <[email protected]> wrote:
> There is one enhancement, that I don't know how to do myself: I don't > what to upload the files, that weren't changed since the last upload, > so I need some kind of DB table, that will have this structure: > > | local file name | server file name | last modify date time | > > If last modify has changed, then upload. Now I have this simple DB as > a matrix in code - files array. What is the best way to implement this > feature in python inside leo? I don't think, that Mysql or Oracle > would be good choice for this. :))) I'd probably use sqlite, which comes with python since 2.5. Otherwise if there's not too many files a pickled dictionary would work, but sqlite is probably easier. Cheers -Terry -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
