Database Table Browser

Date: Mon, 21 Jul 2003 14:29:20 -0500

> To: wxpython-users@lists.wxwindows.org
> From: "Greg Brunet" <gregbrunet@sempersoft.com>
> Subject: Database Table Browser
> Message-ID: <bfhesl$d9c$1@main.gmane.org>
>
> I've been looking for some sample code as a starting point for writing
> a browser for DB tables. I've read the
> http://wiki.wxpython.org/index.cgi/wxPyGridTableBase page and
> associated links, and have poked around to look for stuff, but haven't
> found any actual code. As a way to learn more about this stuff, I'd
> like to write something like any of a number of db browser type
> utilities using wxPython & the wxgrid, probably targeting PySQLite at
> first. Any idea of some simple code that actually hooks up a DB (of
> any variety - even Gadfly, since I expect the DB-API 2 layer to help
> keep things transparent)? Thanks,
>
> -- Greg

Take a look at the dbBrowser2 sample shipped with PythonCard (http://www.pythoncard.org/). It does exactly what you describe.

The original version (dbBrowser) was an exercise in dynamic widget placement and dbBrowser2 is a re-write using a wxGrid and wxPyGridTableBase.

Regards,
Andy

···

--
--------------------------------------------------------------------------------
From the desk of Andrew J Todd esq - http://www.halfcooked.com/

"Andy Todd" <andy47@halfcooked.com> wrote in message
news:3F1CFB0A.5010505@halfcooked.com...

Take a look at the dbBrowser2 sample shipped with PythonCard
(http://www.pythoncard.org/). It does exactly what you describe.

The original version (dbBrowser) was an exercise in dynamic widget
placement and dbBrowser2 is a re-write using a wxGrid and

wxPyGridTableBase.

Regards,
Andy

Thanks Andy: actually, I was having problems getting the Python Card
stuff to run for a while due to the config dir/file problems being
discussed on it's newsgroup, but since that's been addressed (just after
I sent this as it happened), I did look at it & it does seem to be what
I need for a start. I've printed it off & will investigate it further.
Thanks!

···

--
Greg