On Tue, 12 Dec 2017 00:08:49 -0800 (PST)
tscv11 <[email protected]> wrote:

> Hello Mr. Ream,
> 
> Here are the "leo4sqlite.leo" and "leo4sqlite.py" files. I've also

Hi tscv11,

I took a quick look at your importer / exporter.  I guess I don't have
any big picture comments, just a few minor observations:

 - I like formats 1 and 2 more than 3 and 4, I think 3 and 4 might be
   hard to use with larger tables

 - perhaps the @tbl nodes could include the path to the DB, so that you
   could do an import / export without having to select the DB file
   (after the first time, of course)

 - for table import, list the available table names when asking for the
   table name

 - when you have all the features working as intended in the current
   version, there are some options for tighter integration with Leo
   (@g.command(), more @button nodes, etc) - ultimately maybe packaging
   as a plugin - a lot of learning curve in all that of course.

 - not sure what use cases you have in mind, but you could also import
   to markdown table format,
   https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#tables
   which could be useful for output.

Cheers -Terry

> included a database file called "sqlite filename.db3", which contains
> a table you can use in your experiments. Finally you will find my
> "myLeoSetting.leo" file. I'm far from done with the script (it
> doesn't even have error handling yet), but this seems like a good
> time to share it and ask for guidance. I've been squashing bugs
> regularly.  However, I think you may be able to get a basic feel for
> the script without too many problems. Of course you could easily fix
> any bugs anyway ; )
> 
> I have done only the most preliminary of tests using simple three or
> four column (any number of  rows) tables. I'm just curious whether
> there's any interest in this. If so I will continue fixing bugs and
> adding features. Actually I might continue anyway, just because it's
> fun! I find that Leo is addictive, (like python)!
> 
> Please let me know what you think. With respect,
> 
> tsc
> 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to