Re: [Tutor] python, wxpython and postgresql

2008-03-18 Thread Michael Langford
I don't recall a modified flag on controls in wxPython. If you only want to update that which has changed, you probably have to keep a copy of the result of the query you filled the control with, and determine the change from comparing it to the current state of the control. These guys may have s

Re: [Tutor] python, wxpython and postgresql

2008-03-17 Thread Chris Fuller
There are at least a couple of python interfaces to postgresql, but psycopg follows the DB-API spec. You shouldn't have to use the postgresql engine directly. http://www.initd.org/pub/software/psycopg/ The cool bit is that the examples you see that follow DB-API will apply to postgresql, exce

Re: [Tutor] python, wxpython and postgresql

2008-03-17 Thread Chris Fuller
Unless you have a specific reason for choosing postgresql (an excellent database, just not the easiest), such as having an existing installation, desiring networked access, or nice features such as type safety, you might want to consider SQLite instead. Also, if you stick to the DB-API spec, yo

Re: [Tutor] python, wxpython and postgresql

2008-03-17 Thread Bill Mais
Hey, I thought programming was all about the shortcuts ;-) I'm sorry to not be clear. I've done several excellent python + postgresql tutorials, but the one I have not found is wxPython + postgresql (or any database). Specifically, how would you take your sql results and set the values of you

Re: [Tutor] python, wxpython and postgresql

2008-03-17 Thread Eric Walstad
Hey Bill, Bill Mais wrote: > I'm a newbie to python and would like to build a database app with > wxpython and postgresql. I would suggest you first write the basic app to work from the command line. It's easy to debug that way and enables you to focus on the critical features of your app witho

Re: [Tutor] python, wxpython and postgresql

2008-03-17 Thread Luke Paireepinart
Bill Mais wrote: > I'm a newbie to python and would like to build a database app with > wxpython and postgresql. Aside from Dabo, I have not found any > tutorials that cover reading and writing to a database. Is it so easy > that examples are not needed or so impossible that no one can do it.

[Tutor] python, wxpython and postgresql

2008-03-17 Thread Bill Mais
I'm a newbie to python and would like to build a database app with wxpython and postgresql. Aside from Dabo, I have not found any tutorials that cover reading and writing to a database. Is it so easy that examples are not needed or so impossible that no one can do it. Can someone point me in