It seems that wxDb (etc) are not supported in wxPython - am I correct or just not looking in the right place?
If this is correct, what are the plans to support wxDb (ODBC stuff) in wxPython.
Appreciate any hints on alternatives.
Best regards
Werner
I think this question showed up once. AFAIK Robin didn't want to support wxDb
since there are a lot of already stable and well supported database
interfaces available in Python. This includes ODBC. Take a look at the
python.org site and go to SIG's. There is a DB SIG (Special Interest Group)
with a bunch of links to interfaces and documentation. Basically you will
find that all major database systems are supported there. With Pythons
generic DB API you even can write code to support different DB's (asuming you
don't use DB specific queries). Because of this there basically is no need
for wxDb - it would just be another database interface that not even adheres
to the python standards.
You will most likely never use wxPython without Python Why not use what
python already provides.
UC
···
On Friday 10 January 2003 10:07 am, Werner F. Bruhin wrote:
It seems that wxDb (etc) are not supported in wxPython - am I correct or
just not looking in the right place?
If this is correct, what are the plans to support wxDb (ODBC stuff) in
wxPython.
Appreciate any hints on alternatives.
--
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417
Hello Uwe,
Friday, January 10, 2003, 8:25:52 PM, you wrote:
It seems that wxDb (etc) are not supported in wxPython - am I correct or
just not looking in the right place?
I think this question showed up once. AFAIK Robin didn't want to support wxDb
since there are a lot of already stable and well supported database
interfaces available in Python. This includes ODBC.
It is correct, and I agree that wxDb doesn't required to work with
databases using wxPython.
But what do you say about wxDbGrid?
···
--
Best regards,
Oleg mailto:rus43@kharkov.ukrtel.net
Yeah, I think that also showed up, with only a few answers. Nobody actually
wrote something like it - however some people would like to have it (me
included). If I remember right someone suggested to do a python only rewrite
using a customized wxGrid. I think the real problem on that idea is how to
put in the database connection without making it depending on a specific
database. One would have to model everything using the DB API 2 and then
hand a connection object to the control. The control then could use plain
basic SQL92 statements to access the data.
On the other hand I'd like to see some "pluggable" handlers for database
access - pretty much like the wxGrid uses now for cell editing. This would be
more objectoriented and consistent with the current implementation of wx.
UC
···
On Monday 13 January 2003 07:22 am, Oleg Deribas wrote:
Hello Uwe,
Friday, January 10, 2003, 8:25:52 PM, you wrote:
>> It seems that wxDb (etc) are not supported in wxPython - am I correct or
>> just not looking in the right place?
> I think this question showed up once. AFAIK Robin didn't want to
support wxDb UCS> since there are a lot of already stable and well
supported database UCS> interfaces available in Python. This includes ODBC.
It is correct, and I agree that wxDb doesn't required to work with
databases using wxPython.
But what do you say about wxDbGrid?
--
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417