What's the easiest Python datagrid GUI (preferably with easy database hooks as well)?

tinnews at isbd.co.uk tinnews at isbd.co.uk
Wed Mar 13 17:03:09 EDT 2013


Walter Hurry <walterhurry at lavabit.com> wrote:
> On Wed, 13 Mar 2013 18:40:07 +0000, tinnews wrote:
> 
> > I want to write a fairly trivial database driven application, it will
> > basically present a few columns from a database, allow the user to add
> > and/or edit rows, recalculate the values in one column and write the
> > data back to the database.
> > 
> > I want to show the data and allow editing of the data in a datagrid as
> > being able to see adjacent/previous data will help a huge amount when
> > entering data.
> > 
> > So what toolkits are there out there for doing this sort of thing?  A
> > GUI toolkit would be lovely (allowing layout etc.) but isn't absolutely
> > necessary.
> > 
> > I'm a reasonably experienced programmer and know python quite well but
> > I'm fairly much a beginner with event driven GUI stuff so I need a user
> > friendly framework.
> 
> I use wxglade to generate the GUI source for wxpython, and then write my 
> database code into the generated source for population of the grid and 
> responding to events.
> 
> I's very easy and painless. I mostly use Postgres (with Psycopg2) for the 
> database, but sometimes sqlite.
> 
> One big advantage for me is that I can go back to wxglade, change the 
> layout, regenerate the source and my own code is untouched.

Thanks, that sounds useful, I'll go and take a look at wxglade.  I'll
probably use sqlite as it's very lightweight and can happily just run
on my desktop machine.

-- 
Chris Green



More information about the Python-list mailing list