[wxPython] wxDb and wxDbTable will be implemented in wxPython?

I noticed two (useful) wxWindows classes which are not implemented in
wxPython. They are wxDb and wxDbTable, useful for connecting to SQL
databases. Will be implemented in wxPython? If not, can someone give me some
tips about using Python/wxPython with MySQL databases.

Cu stimă,
Răzvan Andrei,
ASBIS România SRL
tel:3209670;
fax:3226901;
www.asbis.ro

I noticed two (useful) wxWindows classes which are not implemented in
wxPython. They are wxDb and wxDbTable, useful for connecting to SQL
databases. Will be implemented in wxPython? If not, can someone give me

some

tips about using Python/wxPython with MySQL databases.

Have you looked at the Python DB-API?
http://www.python.org/topics/database/

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

Hi Robin,

> I noticed two (useful) wxWindows classes which are not implemented in
> wxPython. They are wxDb and wxDbTable, useful for connecting to SQL
> databases. Will be implemented in wxPython? If not, can someone give me
some
> tips about using Python/wxPython with MySQL databases.

Have you looked at the Python DB-API?
DatabaseProgramming - Python Wiki

I know this is the standard way to handle database access from a wxPython (and also a generic Python) app, but I was wondering just how difficult it would be to wrap up those two wxWindows classes anyway. The reason I suggest this is that it's actually a bit of a pain to include an SQL interface in your wxPython app the standard way, as the solution isn't entirely platform-independent. I haven't tried this specifically from wxPython, but the MySQL interface I'm using for my server-side Python code requires quite a mucky installation process and is Linux-specific. If wxWindows provides a generic and completely platform-independent way of accessing a MySQL database, and if the process of providing Python wrappers for those classes is trivial, why not go ahead and do so?

Just a suggestion/question -- if it's difficult to do this, then please forget I asked!

  - Erik.