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

Walter Hurry walterhurry at lavabit.com
Wed Mar 13 15:35:37 EDT 2013


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.



More information about the Python-list mailing list